EveSa commited on
Commit
3e4df8e
1 Parent(s): 332c8a6

fix : DockerFile version

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -4
Dockerfile CHANGED
@@ -2,10 +2,10 @@
2
 
3
  FROM python:3.8.10
4
 
5
- ADD src/ requirements.txt .
6
 
7
- RUN pip install -r requirements.txt
8
 
9
- CMD ["python3", "./src/api.py"]
10
 
11
- EXPOSE 3000
 
2
 
3
  FROM python:3.8.10
4
 
5
+ COPY requirements.txt .
6
 
7
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
8
 
9
+ COPY . .
10
 
11
+ CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]