django project template containerized with Podman
mysite | ||
Dockerfile | ||
manage.py | ||
README.md | ||
requirements.txt | ||
tasks.py |
monkee.ch Podman Django Template
Keep it simple
Project
simple django-admin startproject mysite
project pre-configured to run in a Podman Container
Django
- Add Python dependencies into
requirements.txt
./mysite
folder is where your custom code is
Podman
Build and Start Podman
podman build -t django-app .
podman run -p 8000:8000 django-app
Container
./Dockerfile
- Add Python dependencies into
requirements.txt