Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
|
@@ -45,9 +45,10 @@ RUN mkdir -p ${MDR_MODEL_DIR} /app/temp_uploads /app/.cache/matplotlib /app/.con
|
|
| 45 |
# --- END MODIFIED ---
|
| 46 |
|
| 47 |
# Expose the port the app runs on
|
| 48 |
-
|
|
|
|
| 49 |
|
| 50 |
-
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "
|
| 51 |
|
| 52 |
|
| 53 |
# This allows mounting a host directory for persistent models
|
|
|
|
| 45 |
# --- END MODIFIED ---
|
| 46 |
|
| 47 |
# Expose the port the app runs on
|
| 48 |
+
ENV PORT 7860
|
| 49 |
+
EXPOSE 7860
|
| 50 |
|
| 51 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 52 |
|
| 53 |
|
| 54 |
# This allows mounting a host directory for persistent models
|