aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile.arm64v8
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile.arm64v8')
-rw-r--r--Dockerfile.arm64v810
1 files changed, 6 insertions, 4 deletions
diff --git a/Dockerfile.arm64v8 b/Dockerfile.arm64v8
index f9e6675..573a2e4 100644
--- a/Dockerfile.arm64v8
+++ b/Dockerfile.arm64v8
@@ -32,14 +32,16 @@ RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} &
32 apk add -U --no-cache lighttpd && \ 32 apk add -U --no-cache lighttpd && \
33 rm /usr/bin/qemu-aarch64-static 33 rm /usr/bin/qemu-aarch64-static
34 34
35COPY entrypoint.sh /entrypoint.sh 35WORKDIR /www
36COPY lighttpd.conf /lighttpd.conf
37 36
37COPY lighttpd.conf /lighttpd.conf
38COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ 38COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/
39COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets 39
40USER ${USER}
40HEALTHCHECK --interval=30s --timeout=5s --retries=3 \ 41HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
41 CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${PORT}/ || exit 1 42 CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${PORT}/ || exit 1
42 43
43EXPOSE ${PORT} 44EXPOSE ${PORT}
44VOLUME /www/assets 45VOLUME /www/assets
45ENTRYPOINT ["/bin/sh", "/entrypoint.sh"] 46
47CMD ["lighttpd", "-D", "-f", "/lighttpd.conf"]