update
Browse files- Dockerfile +2 -4
- requirements.txt +1 -0
Dockerfile
CHANGED
@@ -28,13 +28,11 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
|
|
28 |
RUN pip install torch==2.0.0 torchvision==0.15.1 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu118
|
29 |
|
30 |
|
31 |
-
WORKDIR
|
32 |
|
33 |
-
|
34 |
|
35 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
36 |
|
37 |
-
COPY . .
|
38 |
-
|
39 |
# CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
40 |
CMD ["python", "app.py"]
|
|
|
28 |
RUN pip install torch==2.0.0 torchvision==0.15.1 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu118
|
29 |
|
30 |
|
31 |
+
WORKDIR ./
|
32 |
|
33 |
+
RUN ls
|
34 |
|
35 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
36 |
|
|
|
|
|
37 |
# CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
38 |
CMD ["python", "app.py"]
|
requirements.txt
CHANGED
@@ -1,3 +1,4 @@
|
|
1 |
einops
|
2 |
imageio
|
3 |
gradio
|
|
|
|
1 |
einops
|
2 |
imageio
|
3 |
gradio
|
4 |
+
easydict
|