From 610e43b39987172e38e0b8b7de869ac5ecc68cad Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 5 Jan 2025 21:29:06 +0000 Subject: Switched to prod settings for staging --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index a07ae5c..a2ab775 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,12 +20,12 @@ ADD . /app WORKDIR /app # Make port 8010 available to the world outside this container -EXPOSE 8010 +EXPOSE 8020 # Define environment variable -ENV DJANGO_SETTINGS_MODULE=config.settings.local +ENV DJANGO_SETTINGS_MODULE=config.settings.production ENV DJANGO_READ_DOT_ENV_FILE=True -ENV DEBUG=True +ENV DEBUG=False RUN uv sync --frozen --no-dev && uv run manage.py collectstatic --noinput -- cgit v1.2.3