Skip to content

django example update #754

Open
Juergen-J wants to merge 2 commits into
docker:masterfrom
Juergen-J:master
Open

django example update #754
Juergen-J wants to merge 2 commits into
docker:masterfrom
Juergen-J:master

Conversation

@Juergen-J
Copy link
Copy Markdown

Dockerfile — upgraded base image from python:3.7-alpine to python:3.13-slim, added non-root appuser with correct /app directory ownership, replaced the old Alpine/vscode dev-envs stage with a clean Debian-based one, added
migrate before runserver

settings.py — switched from python-dotenv to environs, removed USE_L10N, added DEFAULT_AUTO_FIELD

urls.py — replaced deprecated django.conf.urls.url with django.urls.path

requirements.txt — upgraded Django 3.2 → 5.2.1, replaced bare environs with environs[django]

compose.yaml — added healthcheck block, minor whitespace cleanup

Juergen-J added 2 commits May 31, 2026 14:16
…3-slim, added non-root appuser with correct /app directory ownership, replaced the old Alpine/vscode dev-envs stage with a clean Debian-based one, added

  migrate before runserver

  settings.py — switched from python-dotenv to environs, removed USE_L10N, added DEFAULT_AUTO_FIELD

  urls.py — replaced deprecated django.conf.urls.url with django.urls.path

  requirements.txt — upgraded Django 3.2 → 5.2.1, replaced bare environs with environs[django]

  compose.yaml — added healthcheck block, minor whitespace cleanup

Signed-off-by: JJ <yurk.jur@gmail.com>
…3-slim, added non-root appuser with correct /app directory ownership, replaced the old Alpine/vscode dev-envs stage with a clean Debian-based one, added

  migrate before runserver

  settings.py — switched from python-dotenv to environs, removed USE_L10N, added DEFAULT_AUTO_FIELD

  urls.py — replaced deprecated django.conf.urls.url with django.urls.path

  requirements.txt — upgraded Django 3.2 → 5.2.1, replaced bare environs with environs[django]

  compose.yaml — added healthcheck block, minor whitespace cleanup

Signed-off-by: JJ <yurk.jur@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant