From 7f8d4c2b1af13ffdb7bc46da8657ee608382ebc2 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Tue, 16 Oct 2018 12:13:40 +0200 Subject: [PATCH] Fixed Caddyfile for listening on all interfaces --- Caddyfile | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Caddyfile b/Caddyfile index cbd0faf..a710bfb 100644 --- a/Caddyfile +++ b/Caddyfile @@ -1,3 +1,3 @@ -http://localhost { +*:80 { root /stackedit } \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index a9589b9..e3fd681 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ LABEL maintainer="quentin.mcgaw@gmail.com" \ cpu_usage="Very low" \ github="https://github.com/qdm12/stackedit-docker" EXPOSE 80 +COPY --from=stackedit /stackedit/dist /stackedit COPY --from=caddy /go/src/github.com/mholt/caddy/caddy/caddy /usr/bin/caddy COPY Caddyfile /Caddyfile -COPY --from=stackedit /stackedit/dist /stackedit ENTRYPOINT caddy -conf /Caddyfile -log stdout