Update Dockerfile
Browse files- Dockerfile +5 -10
Dockerfile
CHANGED
@@ -1,11 +1,6 @@
|
|
1 |
-
FROM python:3.9
|
2 |
|
3 |
-
|
4 |
-
|
5 |
-
COPY
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
COPY . .
|
10 |
-
|
11 |
-
CMD ["uvicorn", "planer.py:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
1 |
|
2 |
+
FROM python:python:3.9
|
3 |
+
WORKDIR /app
|
4 |
+
COPY _ /app
|
5 |
+
RUN pip3 install -r requiremens.txt
|
6 |
+
CMD ["python3", "planer.py", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
|
|
|