Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -11,8 +11,8 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 11 |
COPY . .
|
| 12 |
|
| 13 |
# Expose the new port and set it via env var
|
| 14 |
-
ENV PORT=
|
| 15 |
EXPOSE ${PORT}
|
| 16 |
|
| 17 |
-
# Run Uvicorn bound to port
|
| 18 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "
|
|
|
|
| 11 |
COPY . .
|
| 12 |
|
| 13 |
# Expose the new port and set it via env var
|
| 14 |
+
ENV PORT=7860
|
| 15 |
EXPOSE ${PORT}
|
| 16 |
|
| 17 |
+
# Run Uvicorn bound to port 7860
|
| 18 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|