BraydenMoore commited on
Commit
e794f00
1 Parent(s): de3c36c
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -12,7 +12,7 @@ WORKDIR $APP_HOME
12
  COPY . ./
13
 
14
  # Install production dependencies.
15
- RUN pip install --no-cache-dir -r requirements.txt
16
 
17
  RUN useradd -m -u 1000 user
18
  USER user
@@ -28,4 +28,4 @@ COPY --chown=user . $HOME/app
28
  # For environments with multiple CPU cores, increase the number of workers
29
  # to be equal to the cores available.
30
  # Timeout is set to 0 to disable the timeouts of the workers to allow Cloud Run to handle instance scaling.
31
- CMD exec gunicorn --bind 0.0.0.0:7860 --workers 1 --threads 8 --timeout 0 main:app
 
12
  COPY . ./
13
 
14
  # Install production dependencies.
15
+ RUN pip install -r requirements.txt
16
 
17
  RUN useradd -m -u 1000 user
18
  USER user
 
28
  # For environments with multiple CPU cores, increase the number of workers
29
  # to be equal to the cores available.
30
  # Timeout is set to 0 to disable the timeouts of the workers to allow Cloud Run to handle instance scaling.
31
+ CMD exec gunicorn --bind 0.0.0.0:7860 --workers 4 --threads 8 --timeout 0 main:app