diff options
author | Kirmy <mikekirmizakis@gmail.com> | 2021-12-09 13:09:09 +0100 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-04-30 10:46:00 +0200 |
commit | b6b31e440c7915e82fe8b9a4b93083ec9fb2e9fd (patch) | |
tree | 428c97994906574b552f3857f74306a0d8154842 /Dockerfile.arm64v8 | |
parent | caf5fae8a849f740a603e0377be75df2043fae7f (diff) | |
download | homer-b6b31e440c7915e82fe8b9a4b93083ec9fb2e9fd.tar.gz homer-b6b31e440c7915e82fe8b9a4b93083ec9fb2e9fd.tar.zst homer-b6b31e440c7915e82fe8b9a4b93083ec9fb2e9fd.zip |
Replaced darkhttpd with lighttpd
Diffstat (limited to 'Dockerfile.arm64v8')
-rw-r--r-- | Dockerfile.arm64v8 | 7 |
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 | ||
22 | COPY --from=qemu qemu-aarch64-static /usr/bin/ | 22 | COPY --from=qemu qemu-aarch64-static /usr/bin/ |
23 | 23 | ||
24 | ENV USER darkhttpd | 24 | ENV USER lighttpd |
25 | ENV GROUP darkhttpd | 25 | ENV GROUP lighttpd |
26 | ENV GID 911 | 26 | ENV GID 911 |
27 | ENV UID 911 | 27 | ENV UID 911 |
28 | ENV PORT 8080 | 28 | ENV PORT 8080 |
29 | 29 | ||
30 | RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ | 30 | RUN 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 | ||
34 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ | 34 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ |
35 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets | 35 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets |
36 | COPY entrypoint.sh /entrypoint.sh | 36 | COPY entrypoint.sh /entrypoint.sh |
37 | COPY lighttpd.conf /lighttpd.conf | ||
37 | 38 | ||
38 | HEALTHCHECK --interval=30s --timeout=5s --retries=3 \ | 39 | HEALTHCHECK --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 |