Spaces:
Runtime error
Runtime error
Commit
·
8d66f03
1
Parent(s):
b3ce4dc
Change port
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
|
@@ -26,8 +26,7 @@ RUN ls -l /code
|
|
| 26 |
RUN ls -l /code/output_frames
|
| 27 |
|
| 28 |
ENV PATH="/code/venv/bin:$PATH"
|
| 29 |
-
|
| 30 |
-
# CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080"]
|
| 31 |
# Make port 8000 available to the world outside this container
|
| 32 |
EXPOSE 8000
|
| 33 |
|
|
@@ -35,4 +34,4 @@ EXPOSE 8000
|
|
| 35 |
ENV PYTHONUNBUFFERED=1
|
| 36 |
|
| 37 |
# Run Hypercorn when the container launches
|
| 38 |
-
CMD ["hypercorn", "app.main:app", "--bind", "0.0.0.0
|
|
|
|
| 26 |
RUN ls -l /code/output_frames
|
| 27 |
|
| 28 |
ENV PATH="/code/venv/bin:$PATH"
|
| 29 |
+
|
|
|
|
| 30 |
# Make port 8000 available to the world outside this container
|
| 31 |
EXPOSE 8000
|
| 32 |
|
|
|
|
| 34 |
ENV PYTHONUNBUFFERED=1
|
| 35 |
|
| 36 |
# Run Hypercorn when the container launches
|
| 37 |
+
CMD ["hypercorn", "app.main:app", "--bind", "0.0.0.0:$PORT"]
|