【Docker講座12】Dockerfileデモ5_dockerignore【5:14】

■.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
通知
通知対象
0 Comments
新しい順
古い順 得票数
Inline Feedbacks
コメントを全て表示
コメントする

コメントする