We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f574938 commit 9296397Copy full SHA for 9296397
Resources/docker/app/Dockerfile
@@ -1,7 +1,7 @@
1
-FROM python:3.10-alpine
+FROM python:3.10.16-alpine3.21
2
3
-ENV PYTHONUNBUFFERED 1
4
-ENV DJANGO_SETTINGS_MODULE 'config.docker-compose'
+ENV PYTHONUNBUFFERED=1
+ENV DJANGO_SETTINGS_MODULE='config.docker-compose'
5
6
RUN mkdir /code
7
WORKDIR /code
@@ -18,5 +18,5 @@ RUN addgroup -g 1000 -S pokeapi && \
18
adduser -u 1000 -S pokeapi -G pokeapi
19
20
USER pokeapi
21
-CMD gunicorn config.wsgi:application -c gunicorn.conf.py
+CMD ["gunicorn", "config.wsgi:application", "-c", "gunicorn.conf.py"]
22
EXPOSE 80
0 commit comments