Bag of ML Words

ML = Machine Learning, Music Love, and Miscellaneous things in daily Livings

Dockerfileの中でファイルやディレクトリ作るとownerがroot:rootになっちゃうのが嫌な時・・・

COPYコマンド(ADDよりはCOPYのほうがいいらしい)でchownオプションがつけられるよ!

 

COPY --chown=[user name]:[user name] from_dir_path_in_local to_dir_path_in_container