feat: nginx worker events config in Dockerfile
Some checks failed
Deploy on push / deploy (push) Failing after 9s

This commit is contained in:
Stepan Vladovskiy
2024-04-07 13:45:59 -03:00
parent 0da9c87f5a
commit 7c19291ba9
2 changed files with 3 additions and 4 deletions

View File

@@ -15,6 +15,9 @@ COPY pyproject.toml /app/
RUN pip install poetry && \
poetry config virtualenvs.create false && \
poetry install --no-root --only main
# Modify the nginx.conf file to add the events block
RUN echo "events { worker_connections 1024; }" >> /etc/nginx/nginx.conf
# Copy the rest of the application
COPY . /app