AmiKim commited on
Commit
5903647
·
verified ·
1 Parent(s): ea63600

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,10 +1,10 @@
1
  FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
- COPY app/ /app/
5
 
6
  RUN pip install --upgrade pip
7
  RUN pip install -r requirements.txt
8
 
9
  EXPOSE 7860
10
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
  FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
+ COPY . .
5
 
6
  RUN pip install --upgrade pip
7
  RUN pip install -r requirements.txt
8
 
9
  EXPOSE 7860
10
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]