yangtb24 commited on
Commit
44a54d3
·
verified ·
1 Parent(s): b2be9c5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -1,4 +1,7 @@
1
  FROM python:3.12-rc-slim-buster
 
 
2
  RUN pip install --no-cache-dir -r requirements.txt
 
3
  EXPOSE 7860
4
- CMD ["python", "app.py"]
 
1
  FROM python:3.12-rc-slim-buster
2
+ WORKDIR /app
3
+ COPY requirements.txt /app/
4
  RUN pip install --no-cache-dir -r requirements.txt
5
+ COPY . /app/
6
  EXPOSE 7860
7
+ CMD ["python", "app.py"]