aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile.arm32v7
diff options
context:
space:
mode:
authorGlenn Toms <Glenn@glenntoms.gg>2020-06-18 15:46:33 +0100
committerGlenn Toms <Glenn@glenntoms.gg>2020-06-18 15:46:33 +0100
commit29d6b359abd243e9b4c026020bfc5d82bee88b12 (patch)
tree908edca2f073eb3f486d02272c90176a6d41cd07 /Dockerfile.arm32v7
parent5f71d1ea01c54a79fb8f459f8acbe92b0ea99c61 (diff)
downloadhomer-29d6b359abd243e9b4c026020bfc5d82bee88b12.tar.gz
homer-29d6b359abd243e9b4c026020bfc5d82bee88b12.tar.zst
homer-29d6b359abd243e9b4c026020bfc5d82bee88b12.zip
Added entrypoint script and Dockerfile port&volume
Diffstat (limited to 'Dockerfile.arm32v7')
-rw-r--r--Dockerfile.arm32v78
1 files changed, 3 insertions, 5 deletions
diff --git a/Dockerfile.arm32v7 b/Dockerfile.arm32v7
index 952ecb7..ef01d1f 100644
--- a/Dockerfile.arm32v7
+++ b/Dockerfile.arm32v7
@@ -31,12 +31,10 @@ RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} &
31 apk add -U darkhttpd && \ 31 apk add -U darkhttpd && \
32 rm /usr/bin/qemu-arm-static 32 rm /usr/bin/qemu-arm-static
33 33
34RUN echo "darkhttpd /www/ --no-listing --port $PORT" > /entrypoint.sh
35RUN set -ex chown ${USER}:${GROUP} /entrypoint.sh
36
37USER ${USER}
38
39COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ 34COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/
35COPY --chown=${USER}:${GROUP} entrypoint.sh /entrypoint.sh
40 36
37USER ${USER}
41EXPOSE ${PORT} 38EXPOSE ${PORT}
39VOLUME [ "/www/config.yml", "/www/assets" ]
42ENTRYPOINT ["/bin/sh", "/entrypoint.sh"] 40ENTRYPOINT ["/bin/sh", "/entrypoint.sh"]