phenixrhyder
commited on
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -16,6 +16,6 @@ COPY . /code/
|
|
16 |
# Make port 7860 available to the world outside this container
|
17 |
EXPOSE 7860
|
18 |
|
19 |
-
# ---
|
20 |
-
# Run
|
21 |
-
CMD ["
|
|
|
16 |
# Make port 7860 available to the world outside this container
|
17 |
EXPOSE 7860
|
18 |
|
19 |
+
# --- THE FINAL FIX ---
|
20 |
+
# Run gunicorn as a Python module to avoid PATH issues
|
21 |
+
CMD ["python", "-m", "gunicorn", "--bind", "0.0.0.0:7860", "app:app"]
|