giorgio-caparvi commited on
Commit
f1218c5
·
1 Parent(s): 91bafa0

modified server

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -31,4 +31,4 @@ RUN mkdir -p /api/output/generato_paired_paired/images && chown -R user:user /ap
31
  EXPOSE 7860
32
 
33
  # Set default command to initialize conda, activate the environment, and start the backend model
34
- CMD ["bash", "-c", "source /opt/conda/etc/profile.d/conda.sh && conda activate mgd && python app.py --port 7860"]
 
31
  EXPOSE 7860
32
 
33
  # Set default command to initialize conda, activate the environment, and start the backend model
34
+ CMD ["bash", "-c", "source /opt/conda/etc/profile.d/conda.sh && conda activate mgd && gunicorn --bind 0.0.0.0:7860 app:app"]