mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-15 09:24:52 +03:00
reduced number of layers in Traefik by combining directory and file creation and file permissions steps together. If anyone fails, the entire build should fail anyway.
This commit is contained in:
parent
7dacf4995c
commit
5f066e38da
|
@ -1,5 +1,5 @@
|
||||||
FROM traefik:v2.0
|
FROM traefik:v2.0
|
||||||
RUN mkdir -p /etc/traefik/acme
|
RUN mkdir -p /etc/traefik/acme \
|
||||||
RUN touch /etc/traefik/acme/acme.json
|
&& touch /etc/traefik/acme/acme.json \
|
||||||
RUN chmod 600 /etc/traefik/acme/acme.json
|
&& chmod 600 /etc/traefik/acme/acme.json
|
||||||
COPY ./compose/production/traefik/traefik.yml /etc/traefik
|
COPY ./compose/production/traefik/traefik.yml /etc/traefik
|
||||||
|
|
Loading…
Reference in New Issue
Block a user