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