diff options
Diffstat (limited to 'Dockerfile.arm32v7')
-rw-r--r-- | Dockerfile.arm32v7 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Dockerfile.arm32v7 b/Dockerfile.arm32v7 index 952ecb7..ef01d1f 100644 --- a/Dockerfile.arm32v7 +++ b/Dockerfile.arm32v7 | |||
@@ -31,12 +31,10 @@ RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} & | |||
31 | apk add -U darkhttpd && \ | 31 | apk add -U darkhttpd && \ |
32 | rm /usr/bin/qemu-arm-static | 32 | rm /usr/bin/qemu-arm-static |
33 | 33 | ||
34 | RUN echo "darkhttpd /www/ --no-listing --port $PORT" > /entrypoint.sh | ||
35 | RUN set -ex chown ${USER}:${GROUP} /entrypoint.sh | ||
36 | |||
37 | USER ${USER} | ||
38 | |||
39 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ | 34 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ |
35 | COPY --chown=${USER}:${GROUP} entrypoint.sh /entrypoint.sh | ||
40 | 36 | ||
37 | USER ${USER} | ||
41 | EXPOSE ${PORT} | 38 | EXPOSE ${PORT} |
39 | VOLUME [ "/www/config.yml", "/www/assets" ] | ||
42 | ENTRYPOINT ["/bin/sh", "/entrypoint.sh"] | 40 | ENTRYPOINT ["/bin/sh", "/entrypoint.sh"] |