th0mascat commited on
Commit
3a75821
1 Parent(s): 5ef1619

Update Dockerfile

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