aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile.arm64v8
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile.arm64v8')
-rw-r--r--Dockerfile.arm64v85
1 files changed, 3 insertions, 2 deletions
diff --git a/Dockerfile.arm64v8 b/Dockerfile.arm64v8
index 7d772f0..f9e6675 100644
--- a/Dockerfile.arm64v8
+++ b/Dockerfile.arm64v8
@@ -26,16 +26,17 @@ ENV GROUP lighttpd
26ENV GID 911 26ENV GID 911
27ENV UID 911 27ENV UID 911
28ENV PORT 8080 28ENV PORT 8080
29ENV SUBFOLDER "/_"
29 30
30RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ 31RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \
31 apk add -U --no-cache lighttpd && \ 32 apk add -U --no-cache lighttpd && \
32 rm /usr/bin/qemu-aarch64-static 33 rm /usr/bin/qemu-aarch64-static
33 34
34COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/
35COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets
36COPY entrypoint.sh /entrypoint.sh 35COPY entrypoint.sh /entrypoint.sh
37COPY lighttpd.conf /lighttpd.conf 36COPY lighttpd.conf /lighttpd.conf
38 37
38COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/
39COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets
39HEALTHCHECK --interval=30s --timeout=5s --retries=3 \ 40HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
40 CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${PORT}/ || exit 1 41 CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${PORT}/ || exit 1
41 42