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

chore: do not copy useless files into the image

Move required files but 'nginx.tmpl' into a local 'app' folder and copy the
folder content into the image.

'nginx.tmpl' should be moved as well, but this is a breaking change for
configuration with a separate 'docker-gen' container.
This commit is contained in:
Gilles Filippini
2020-06-01 07:15:00 +00:00
committed by Nicolas Duchon
parent 3257177d80
commit 5aba125fb7
8 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ COPY --from=dockergen /usr/local/bin/docker-gen /usr/local/bin/docker-gen
COPY network_internal.conf /etc/nginx/
COPY . /app/
COPY app nginx.tmpl /app/
WORKDIR /app/
ENTRYPOINT ["/app/docker-entrypoint.sh"]