aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2020-06-23 22:56:33 -0700
committerBastien Wirtz <bastien.wirtz@gmail.com>2020-06-28 11:05:40 -0700
commitb102c9b2b3aaa4d66bda8d932ba2d6bd4575c044 (patch)
tree41bdb9b456cbb8d59aaf421e8c82582a4eabcc55 /Dockerfile
parent796a16c8da1e40aef418559ade2252a5275708c8 (diff)
downloadhomer-b102c9b2b3aaa4d66bda8d932ba2d6bd4575c044.tar.gz
homer-b102c9b2b3aaa4d66bda8d932ba2d6bd4575c044.tar.zst
homer-b102c9b2b3aaa4d66bda8d932ba2d6bd4575c044.zip
Regroup all editable files in one place
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index cd3ab11..0375112 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,12 +19,12 @@ ENV UID 911
19ENV PORT 8080 19ENV PORT 8080
20 20
21RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ 21RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \
22 apk add -U darkhttpd 22 apk add -U --no-cache su-exec darkhttpd
23 23
24COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ 24COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/
25COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets
25COPY --chown=${USER}:${GROUP} entrypoint.sh /entrypoint.sh 26COPY --chown=${USER}:${GROUP} entrypoint.sh /entrypoint.sh
26 27
27USER ${USER}
28EXPOSE ${PORT} 28EXPOSE ${PORT}
29VOLUME [ "/www/config.yml", "/www/assets" ] 29VOLUME /www/assets
30ENTRYPOINT ["/bin/sh", "/entrypoint.sh"] 30ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]