Skip to content

Commit

Permalink
deps: bump python/ use = separator/use square brackets in CMD
Browse files Browse the repository at this point in the history
  • Loading branch information
Naramsim committed Dec 21, 2024
1 parent f574938 commit 9296397
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Resources/docker/app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.10-alpine
FROM python:3.10.16-alpine3.21

ENV PYTHONUNBUFFERED 1
ENV DJANGO_SETTINGS_MODULE 'config.docker-compose'
ENV PYTHONUNBUFFERED=1
ENV DJANGO_SETTINGS_MODULE='config.docker-compose'

RUN mkdir /code
WORKDIR /code
Expand All @@ -18,5 +18,5 @@ RUN addgroup -g 1000 -S pokeapi && \
adduser -u 1000 -S pokeapi -G pokeapi

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

0 comments on commit 9296397

Please sign in to comment.