1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-07-01 14:25:46 +00:00

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:
Andrew Vos
2014-09-17 19:37:39 +01:00
parent 6024b7bdf3
commit 61bb0a62fb
2 changed files with 6 additions and 6 deletions

View File

@ -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