Fixed Caddyfile for listening on all interfaces

pull/4/head
Quentin McGaw 6 years ago
parent a334076b6a
commit 7f8d4c2b1a

@ -1,3 +1,3 @@
http://localhost { *:80 {
root /stackedit root /stackedit
} }

@ -25,7 +25,7 @@ LABEL maintainer="quentin.mcgaw@gmail.com" \
cpu_usage="Very low" \ cpu_usage="Very low" \
github="https://github.com/qdm12/stackedit-docker" github="https://github.com/qdm12/stackedit-docker"
EXPOSE 80 EXPOSE 80
COPY --from=stackedit /stackedit/dist /stackedit
COPY --from=caddy /go/src/github.com/mholt/caddy/caddy/caddy /usr/bin/caddy COPY --from=caddy /go/src/github.com/mholt/caddy/caddy/caddy /usr/bin/caddy
COPY Caddyfile /Caddyfile COPY Caddyfile /Caddyfile
COPY --from=stackedit /stackedit/dist /stackedit
ENTRYPOINT caddy -conf /Caddyfile -log stdout ENTRYPOINT caddy -conf /Caddyfile -log stdout

Loading…
Cancel
Save