Spaces:
Sleeping
Sleeping
Fix gunicorn port binding
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -24,4 +24,4 @@ RUN apt-get update && apt-get install -y \
|
|
24 |
EXPOSE 7860
|
25 |
|
26 |
# Define the command to run your app using Gunicorn
|
27 |
-
CMD
|
|
|
24 |
EXPOSE 7860
|
25 |
|
26 |
# Define the command to run your app using Gunicorn
|
27 |
+
CMD ["sh", "-c", "gunicorn app:app --bind 0.0.0.0:$PORT"]
|