Only add source after dependency download
This lets docker cache the ADD instruction, giving us a faster build. Also, install docker-gen directly to /usr/local/bin.
This commit is contained in:
parent
6024b7bdf3
commit
61bb0a62fb
2 changed files with 6 additions and 6 deletions
2
Procfile
2
Procfile
|
@ -1,2 +1,2 @@
|
|||
nginx: nginx
|
||||
dockergen: /app/docker-gen -watch -only-exposed -notify "nginx -s reload" /app/nginx.tmpl /etc/nginx/sites-enabled/default
|
||||
dockergen: docker-gen -watch -only-exposed -notify "nginx -s reload" /app/nginx.tmpl /etc/nginx/sites-enabled/default
|
||||
|
|
Reference in a new issue