mirror of
https://github.com/fluencelabs/dashboard
synced 2024-12-04 23:30:20 +00:00
d7a59b2ff0
* 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
21 lines
485 B
Docker
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
|