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
2022-03-07 16:01:15 +01:00
committed by Nicolas Duchon
parent 3257177d80
commit 5aba125fb7
8 changed files with 3 additions and 3 deletions
+1 -1
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"]