Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -3,8 +3,10 @@ FROM python:3.9
|
|
3 |
|
4 |
WORKDIR /
|
5 |
|
6 |
-
|
7 |
|
8 |
-
|
|
|
|
|
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"]
|