cookiecutter-django/{{cookiecutter.project_slug}}/compose/production/traefik/Dockerfile
2020-09-11 22:04:44 +05:30

6 lines
194 B
Docker

FROM traefik:v2.0
RUN mkdir -p /etc/traefik/acme \
&& touch /etc/traefik/acme/acme.json \
&& chmod 600 /etc/traefik/acme/acme.json
COPY ./compose/production/traefik/traefik.yml /etc/traefik