eloukas commited on
Commit
8cbcb64
·
verified ·
1 Parent(s): 7043798

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -13,10 +13,10 @@ COPY --chown=user . .
13
  EXPOSE 7860
14
 
15
  # Optimization: Baseline
16
- # CMD ["gunicorn", "app:server", "--bind", "0.0.0.0:7860", "--workers", "4"]
17
 
18
  # Optimization: Shared memory with many threads
19
- CMD ["gunicorn", "app:server", "--bind", "0.0.0.0:7860", "--workers", "1", "--threads", "4", "--timeout", "120"]
20
 
21
  # Option 1: Point directly to the Dash app's server. -- does not work for hf spaces
22
  # CMD ["gunicorn", "app:app.server", "--bind", "0.0.0.0:7860", "--workers", "4"]
 
13
  EXPOSE 7860
14
 
15
  # Optimization: Baseline
16
+ CMD ["gunicorn", "app:server", "--bind", "0.0.0.0:7860", "--workers", "4"]
17
 
18
  # Optimization: Shared memory with many threads
19
+ # CMD ["gunicorn", "app:server", "--bind", "0.0.0.0:7860", "--workers", "1", "--threads", "4", "--timeout", "120"]
20
 
21
  # Option 1: Point directly to the Dash app's server. -- does not work for hf spaces
22
  # CMD ["gunicorn", "app:app.server", "--bind", "0.0.0.0:7860", "--workers", "4"]