3v324v23 commited on
Commit
117e26e
·
1 Parent(s): a1e0f40
Files changed (2) hide show
  1. Dockerfile +2 -4
  2. 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 /code
32
 
33
- COPY ./requirements.txt /code/requirements.txt
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