zwq2018 commited on
Commit
863b181
·
1 Parent(s): 5f5f673

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -8,8 +8,13 @@ COPY ./requirements.txt /code/requirements.txt
8
  COPY ./ /code/.
9
 
10
 
 
 
 
 
11
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
 
 
13
  COPY . .
14
 
15
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
8
  COPY ./ /code/.
9
 
10
 
11
+
12
+
13
+ RUN apt-get update && apt-get install -y git git-lfs ffmpeg libsm6 libxext6 cmake libgl1-mesa-glx && rm -rf /var/lib/apt/lists/* && git lfs install
14
+
15
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
16
 
17
+
18
  COPY . .
19
 
20
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]