■.dockerignore
# Ignore SQLite database files
**/*.sqlite3
# Ignore test output and private code coverage files
**/*.xml
**/.coverage
# Ignore compiled Python source files
**/*.pyc
**/pycache
# Ignore macOS directory metadata files
**/.DS_Store
■ビルド
docker build -t todobackend-release .
■アプリ実行
docker run -it --rm -p 8000:8000 todobackend-release uwsgi --http=0.0.0.0:8000 --module=todobackend.wsgi --master