limenous commited on
Commit
db2cc77
·
1 Parent(s): 68ab4f8

Fix gunicorn port binding

Browse files
Files changed (1) hide show
  1. 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 exec gunicorn --bind :$PORT app:app
 
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"]