dashboard/caddy.Dockerfile

11 lines
205 B
Docker
Raw Normal View History

2021-06-18 17:09:28 +03:00
FROM caddy:2.4.0
WORKDIR /
2021-06-17 01:01:43 +03:00
COPY ./dist /dist
COPY Caddyfile /Caddyfile
VOLUME /data
CMD ["caddy", "run", "--config", "/Caddyfile"]
# DO NOT FORGET TO USE VOLUME OR CERTBOT WILL BAN: -v caddy_data:/data