Skip to content

Commit 9296397

Browse files
committed
deps: bump python/ use = separator/use square brackets in CMD
1 parent f574938 commit 9296397

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Resources/docker/app/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM python:3.10-alpine
1+
FROM python:3.10.16-alpine3.21
22

3-
ENV PYTHONUNBUFFERED 1
4-
ENV DJANGO_SETTINGS_MODULE 'config.docker-compose'
3+
ENV PYTHONUNBUFFERED=1
4+
ENV DJANGO_SETTINGS_MODULE='config.docker-compose'
55

66
RUN mkdir /code
77
WORKDIR /code
@@ -18,5 +18,5 @@ RUN addgroup -g 1000 -S pokeapi && \
1818
adduser -u 1000 -S pokeapi -G pokeapi
1919

2020
USER pokeapi
21-
CMD gunicorn config.wsgi:application -c gunicorn.conf.py
21+
CMD ["gunicorn", "config.wsgi:application", "-c", "gunicorn.conf.py"]
2222
EXPOSE 80

0 commit comments

Comments
 (0)