aboutsummaryrefslogtreecommitdiffhomepage
path: root/Dockerfile.arm32v7
diff options
context:
space:
mode:
authorCalvin Bui <3604363+calvinbui@users.noreply.github.com>2020-06-11 11:32:24 +1000
committerCalvin Bui <3604363+calvinbui@users.noreply.github.com>2020-06-11 11:32:24 +1000
commitd10b219db596bb215db502b42e19443b8924fd56 (patch)
tree264865a94d870f203a2cf26dae230d2f58a5bd28 /Dockerfile.arm32v7
parentac1442c640645b1b80b98fc3c25504df439ea1fa (diff)
downloadhomer-d10b219db596bb215db502b42e19443b8924fd56.tar.gz
homer-d10b219db596bb215db502b42e19443b8924fd56.tar.zst
homer-d10b219db596bb215db502b42e19443b8924fd56.zip
copy artifacts later in the build step with permissions
Diffstat (limited to 'Dockerfile.arm32v7')
-rw-r--r--Dockerfile.arm32v73
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile.arm32v7 b/Dockerfile.arm32v7
index 0b83a06..d1ef138 100644
--- a/Dockerfile.arm32v7
+++ b/Dockerfile.arm32v7
@@ -20,7 +20,6 @@ RUN wget https://github.com/multiarch/qemu-user-static/releases/download/${QEMU_
20FROM arm32v7/alpine:3.11 20FROM arm32v7/alpine:3.11
21 21
22COPY --from=qemu qemu-arm-static /usr/bin/ 22COPY --from=qemu qemu-arm-static /usr/bin/
23COPY --from=build-stage /app/dist /www/
24 23
25ENV USER darkhttpd 24ENV USER darkhttpd
26ENV GROUP darkhttpd 25ENV GROUP darkhttpd
@@ -33,4 +32,6 @@ RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} &
33 32
34USER ${USER} 33USER ${USER}
35 34
35COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/
36
36ENTRYPOINT ["darkhttpd","/www/","--no-listing"] 37ENTRYPOINT ["darkhttpd","/www/","--no-listing"]