Spaces:
Paused
Paused
giorgio-caparvi
commited on
Commit
·
f1218c5
1
Parent(s):
91bafa0
modified server
Browse files- 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 &&
|
|
|
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"]
|