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