dashboard/caddy.Dockerfile
Pavel d7a59b2ff0
Fix dashboard (#12)
* TS replaced with js

* Livereload works for ELM part

* Fix layout issue with empty spaces

* Using pure css spinners

* Fixed services not being displayed in module page
2021-06-09 22:18:03 +03:00

21 lines
485 B
Docker

FROM caddy
WORKDIR /
COPY ./dist /bundle
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