diff --git a/caddy.Dockerfile b/caddy.Dockerfile index b1841b3..665f4e7 100644 --- a/caddy.Dockerfile +++ b/caddy.Dockerfile @@ -3,18 +3,8 @@ WORKDIR / COPY ./dist /dist COPY Caddyfile /Caddyfile -#RUN printf '\n\ -#dash.fluence.dev {\n\ -# try_files /bundle/{path} /bundle/index.html?{query}&p={path}\n\ -#}\n\ -#'\ -#>> /tmp/hello - -#RUN echo 'try_files /bundle/{path} /bundle/index.html?{query}&p={path}' > Caddyfile - VOLUME /data -#CMD ["caddy", "file-server", "--root", "/bundle", "--browse"] CMD ["caddy", "run", "--config", "/Caddyfile"] # DO NOT FORGET TO USE VOLUME OR CERTBOT WILL BAN: -v caddy_data:/data