Skip to content

Commit

Permalink
Add comments to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bfirsh committed Dec 9, 2021
1 parent 157ffaf commit 90513b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ RUN pip install -r requirements.txt
COPY package.json yarn.lock /code/
RUN yarn install
COPY . /code/
# Run Parcel to bake compiled static assets into image
# Bake compiled static assets into image
RUN yarn build
RUN SECRET_KEY=unset python manage.py collectstatic --no-input
# Number of gunicorn worker processes. This is the main lever to adjust memory usage.
# Number of gunicorn worker processes. This is the main lever to adjust memory usage.
ENV WEB_CONCURRENCY 3
# Number of gevent connections per worker process. This has some but smaller effect on memory usage, but mainly a lever to adjust CPU usage, network connections, etc.
ENV WORKER_CONNECTIONS 50
Expand Down

0 comments on commit 90513b8

Please sign in to comment.