From b102c9b2b3aaa4d66bda8d932ba2d6bd4575c044 Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Tue, 23 Jun 2020 22:56:33 -0700 Subject: Regroup all editable files in one place --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index cd3ab11..0375112 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,12 +19,12 @@ ENV UID 911 ENV PORT 8080 RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ - apk add -U darkhttpd + apk add -U --no-cache su-exec darkhttpd COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ +COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets COPY --chown=${USER}:${GROUP} entrypoint.sh /entrypoint.sh -USER ${USER} EXPOSE ${PORT} -VOLUME [ "/www/config.yml", "/www/assets" ] +VOLUME /www/assets ENTRYPOINT ["/bin/sh", "/entrypoint.sh"] -- cgit v1.2.3