Python/Django API with Docker and Docker Compose Udemy Course Notes
https://www.udemy.com/course/django-python-advanced/learn/lecture/32238716#overview docker-compose run --rm app sh -c "python manage.py collectstatic" https://www.udemy.com/course/django-python-advanced/learn/lecture/32238736#overview created requirements and dockfile FROM python:3.9-alpine3.13 (Alpine is lightweight version of linux) from hub.docker.com - lots of image tags there for the dockerfile. ENV PYTHONUNBUFFERED 1 Could have used multiple RUN lines. but && / is better Boyo likes using venv anyway even though using docker .dockerignore file creation docker build . docker-compose file creation e.g. sh -c "python manage.py runserver 0.0.0.0:8000" --> can run docker-compose build (same as docker build . but via docker file) https://www.udemy.com/course/django-python-advanced/learn/lecture/32238750#overview linting and testing flake8 simple to use liniting tool docker-compose run --rm app sh -c "f...