innofacisteven commited on
Commit
480d792
·
verified ·
1 Parent(s): 09ec1d7

Update Dockerfile

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