Update Dockerfile
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
@@ -3,10 +3,8 @@ FROM python:3.9
|
|
3 |
|
4 |
WORKDIR /
|
5 |
|
6 |
-
COPY requirements.txt .
|
7 |
-
|
8 |
-
RUN pip install -r requirements.txt
|
9 |
-
|
10 |
COPY . .
|
11 |
|
|
|
|
|
12 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
3 |
|
4 |
WORKDIR /
|
5 |
|
|
|
|
|
|
|
|
|
6 |
COPY . .
|
7 |
|
8 |
+
RUN pipenv install
|
9 |
+
|
10 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|