larxius commited on
Commit
a3c8f2c
·
verified ·
1 Parent(s): 838b031

Add startup logging via start.sh

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -43,6 +43,6 @@ ENV FLASK_ENV=production \
43
 
44
  EXPOSE 7860
45
 
46
- CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", \
47
- "--timeout", "300", \
48
- "app:app"]
 
43
 
44
  EXPOSE 7860
45
 
46
+ COPY start.sh .
47
+ RUN chmod +x start.sh
48
+ CMD ["./start.sh"]