aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile.arm64v8
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile.arm64v8')
-rw-r--r--Dockerfile.arm64v88
1 files changed, 3 insertions, 5 deletions
diff --git a/Dockerfile.arm64v8 b/Dockerfile.arm64v8
index d9c8aab..7899027 100644
--- a/Dockerfile.arm64v8
+++ b/Dockerfile.arm64v8
@@ -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-aarch64-static 32 rm /usr/bin/qemu-aarch64-static
33 33
34RUN echo "darkhttpd /www/ --no-listing --port $PORT" > /entrypoint.sh
35RUN set -ex chown ${USER}:${GROUP} /entrypoint.sh
36
37USER ${USER}
38
39COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ 34COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/
35COPY --chown=${USER}:${GROUP} entrypoint.sh /entrypoint.sh
40 36
37USER ${USER}
41EXPOSE ${PORT} 38EXPOSE ${PORT}
39VOLUME [ "/www/config.yml", "/www/assets" ]
42ENTRYPOINT ["/bin/sh", "/entrypoint.sh"] 40ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]