mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 01:38:15 +00:00
Merge pull request #1444 from pini-gh/app-folder
Do not copy useless files into the image
This commit is contained in:
commit
6b48e11e5c
@ -1,6 +1,10 @@
|
|||||||
.git
|
.git
|
||||||
|
.github
|
||||||
|
test
|
||||||
.dockerignore
|
.dockerignore
|
||||||
circle.yml
|
.gitignore
|
||||||
|
*.yml
|
||||||
|
Dockerfile*
|
||||||
|
LICENSE
|
||||||
Makefile
|
Makefile
|
||||||
README.md
|
README.md
|
||||||
test
|
|
||||||
|
@ -67,7 +67,7 @@ COPY --from=dockergen /usr/local/bin/docker-gen /usr/local/bin/docker-gen
|
|||||||
|
|
||||||
COPY network_internal.conf /etc/nginx/
|
COPY network_internal.conf /etc/nginx/
|
||||||
|
|
||||||
COPY . /app/
|
COPY app nginx.tmpl /app/
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
|
||||||
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
||||||
|
@ -64,7 +64,7 @@ COPY --from=dockergen /usr/local/bin/docker-gen /usr/local/bin/docker-gen
|
|||||||
|
|
||||||
COPY network_internal.conf /etc/nginx/
|
COPY network_internal.conf /etc/nginx/
|
||||||
|
|
||||||
COPY . /app/
|
COPY app nginx.tmpl /app/
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
|
||||||
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|
||||||
|
@ -54,7 +54,7 @@ with_custom_file:
|
|||||||
volumes:
|
volumes:
|
||||||
- *docker-sock
|
- *docker-sock
|
||||||
- *nginx-certs
|
- *nginx-certs
|
||||||
- ../../dhparam/ffdhe3072.pem:/etc/nginx/dhparam/dhparam.pem:ro
|
- ../../app/dhparam/ffdhe3072.pem:/etc/nginx/dhparam/dhparam.pem:ro
|
||||||
|
|
||||||
with_skip:
|
with_skip:
|
||||||
container_name: dh-skip
|
container_name: dh-skip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user