Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN npm run build:prod


# Build Python app - this stage is a common base for the prod and dev stages
FROM python:3.14-bookworm AS backend
FROM python:3.14-trixie AS backend

ARG POETRY_VERSION=1.8.5
ARG UID=1000
Expand All @@ -27,7 +27,7 @@ ENV DJANGO_SETTINGS_MODULE=wagtailio.settings.production \

# Install operating system dependencies.
RUN apt-get update --yes --quiet && \
apt-get install -y apt-transport-https rsync libmagickwand-dev unzip postgresql-client-15 \
apt-get install -y apt-transport-https rsync libmagickwand-dev unzip postgresql-client-17 \
jpegoptim pngquant gifsicle libjpeg-progs webp && \
rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -64,7 +64,7 @@ COPY --chown=wagtailio --from=frontend ./wagtailio/static_compiled ./wagtailio/s
RUN SECRET_KEY=none django-admin collectstatic --noinput --clear

# Run application
CMD gunicorn wagtailio.wsgi:application
CMD ["gunicorn", "wagtailio.wsgi:application"]


# This stage builds the image that we use for development
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sh: ## Enter the web container
docker compose exec web bash

runserver: ## 🏃 - Run Django server
docker compose exec web django-admin runserver 0.0.0.0:8000
docker compose exec web bash -c "DJANGO_RUNSERVER_HIDE_WARNING=true django-admin runserver 0.0.0.0:8000"

superuser: ## 🔒 - Create superuser
docker compose run --rm web django-admin createsuperuser
Expand Down
Loading