diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-06-19 08:03:55 -0700 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-06-19 08:03:55 -0700 |
commit | 8d7ca88c469cb9591c57c620043c90542bfb0911 (patch) | |
tree | 92563dd43c6a0f134d5049aa3a2e63d45e9eae6c /Dockerfile.arm32v7 | |
parent | fea05ea099424bab0f3d9cede6f054a7c4970a3f (diff) | |
parent | b24251110179b86e12d6823618777ef133738861 (diff) | |
download | homer-20.06.1.tar.gz homer-20.06.1.tar.zst homer-20.06.1.zip |
Merge branch 'master' of github.com-perso:bastienwirtz/homer20.06.1
Diffstat (limited to 'Dockerfile.arm32v7')
-rw-r--r-- | Dockerfile.arm32v7 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Dockerfile.arm32v7 b/Dockerfile.arm32v7 index 7664f66..ef01d1f 100644 --- a/Dockerfile.arm32v7 +++ b/Dockerfile.arm32v7 | |||
@@ -25,13 +25,16 @@ ENV USER darkhttpd | |||
25 | ENV GROUP darkhttpd | 25 | ENV GROUP darkhttpd |
26 | ENV GID 911 | 26 | ENV GID 911 |
27 | ENV UID 911 | 27 | ENV UID 911 |
28 | ENV PORT 8080 | ||
28 | 29 | ||
29 | 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} && \ |
30 | apk add -U darkhttpd && \ | 31 | apk add -U darkhttpd && \ |
31 | rm /usr/bin/qemu-arm-static | 32 | rm /usr/bin/qemu-arm-static |
32 | 33 | ||
33 | USER ${USER} | ||
34 | |||
35 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ | 34 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ |
35 | COPY --chown=${USER}:${GROUP} entrypoint.sh /entrypoint.sh | ||
36 | 36 | ||
37 | ENTRYPOINT ["darkhttpd","/www/","--no-listing"] | 37 | USER ${USER} |
38 | EXPOSE ${PORT} | ||
39 | VOLUME [ "/www/config.yml", "/www/assets" ] | ||
40 | ENTRYPOINT ["/bin/sh", "/entrypoint.sh"] | ||