cookiecutter-django/{{cookiecutter.project_slug}}/compose/production/traefik/Dockerfile

6 lines
194 B
Docker
Raw Normal View History

2019-11-28 23:16:06 +03:00
FROM traefik:v2.0
RUN mkdir -p /etc/traefik/acme \
&& touch /etc/traefik/acme/acme.json \
&& chmod 600 /etc/traefik/acme/acme.json
2019-11-28 23:16:06 +03:00
COPY ./compose/production/traefik/traefik.yml /etc/traefik