Skip to content

Instantly share code, notes, and snippets.

Last active June 15, 2018 10:51
What would you like to do?
Container Reload Script
docker pull user/myrepo && \
docker rm -f myapp && \
docker run -d -p 80:80 -e RAILS_ENV=production --env-file=/opt/utils/deps/web.envfile --name=myapp --link=postgres:postgres --link=redis:redis user/myrepo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment