Closed alee closed 8 years ago
I think this involves:
miracle
app itself and the deployment scripts (Dockerfiles and scripts) into separate repositories. This is not necessary but cleaner in my opinion. Then the miracle
Dockerfile pulls the miracle
app from its GitHub repo. CMD
) in the miracle
Dockerfile would perform migrations and static file collections (something like https://github.com/warmdev/miracle-docker/blob/master/miracle.sh but can be more complex as required)Update: It is possible to force rebuild an image without cache using the --no-cahe=true
flag. However this will rebuild the entire image from start. If we only want to rebuild from a certain line, use the blank space method as mentioned above.
Need docs for both prod and dev deployments.
Upgrading containers