Frajosgro commited on
Commit
478b527
·
verified ·
1 Parent(s): 732bea3

Update dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +2 -3
dockerfile CHANGED
@@ -1,6 +1,5 @@
1
- FROM python:3.9-slim
2
  WORKDIR /app
3
  COPY . .
4
- RUN pip install --no-cache-dir -r requirements.txt
5
- EXPOSE 7860
6
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
+ FROM python:3.9
2
  WORKDIR /app
3
  COPY . .
4
+ RUN pip install -r requirements.txt
 
5
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]