1
0
Fork 0
mirror of https://github.com/nginx-proxy/nginx-proxy synced 2024-05-05 07:06:09 +02:00

Merge pull request #1444 from pini-gh/app-folder

Do not copy useless files into the image
This commit is contained in:
Nicolas Duchon 2022-03-07 16:22:39 +01:00 committed by GitHub
commit 6b48e11e5c
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 5 deletions

View File

@ -1,6 +1,10 @@
.git
.github
test
.dockerignore
circle.yml
.gitignore
*.yml
Dockerfile*
LICENSE
Makefile
README.md
test

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"]

View File

@ -64,7 +64,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"]

View File

@ -54,7 +54,7 @@ with_custom_file:
volumes:
- *docker-sock
- *nginx-certs
- ../../dhparam/ffdhe3072.pem:/etc/nginx/dhparam/dhparam.pem:ro
- ../../app/dhparam/ffdhe3072.pem:/etc/nginx/dhparam/dhparam.pem:ro
with_skip:
container_name: dh-skip