Rebuild Docker container on file changes

前端 未结 3 1004
再見小時候
再見小時候 2020-12-22 18:49

For running an ASP.NET Core application, I generated a dockerfile which build the application and copys the source code in the container, which is fetched by Git using Jenki

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-22 18:53

    Whenever changes are made in dockerfile or compose or requirements , re-Run it using docker-compose up --build . So that images get rebuild and refreshed

提交回复
热议问题