Spaces:
Runtime error
Runtime error
exposed port
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM python:3.
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
@@ -10,4 +10,6 @@ RUN echo "Hello world!!!"
|
|
10 |
|
11 |
COPY . .
|
12 |
|
|
|
|
|
13 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
1 |
+
FROM python:3.10-bullseye
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
|
|
10 |
|
11 |
COPY . .
|
12 |
|
13 |
+
EXPOSE 7860
|
14 |
+
|
15 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|