From cd75da69f9e57c3fe0f63c3ed6def0577d75a47c Mon Sep 17 00:00:00 2001 From: Bastien Wirtz Date: Sun, 20 Mar 2022 21:46:36 +0100 Subject: Alias subfolder hosting --- Dockerfile.arm32v7 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Dockerfile.arm32v7') diff --git a/Dockerfile.arm32v7 b/Dockerfile.arm32v7 index 2256d2a..01a2196 100644 --- a/Dockerfile.arm32v7 +++ b/Dockerfile.arm32v7 @@ -26,16 +26,17 @@ ENV GROUP lighttpd ENV GID 911 ENV UID 911 ENV PORT 8080 +ENV SUBFOLDER "/_" RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} && \ apk add -U --no-cache lighttpd && \ rm /usr/bin/qemu-arm-static -COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ -COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets COPY entrypoint.sh /entrypoint.sh COPY lighttpd.conf /lighttpd.conf +COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ +COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets HEALTHCHECK --interval=30s --timeout=5s --retries=3 \ CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${PORT}/ || exit 1 -- cgit v1.2.3