diff options
author | Calvin Bui <3604363+calvinbui@users.noreply.github.com> | 2020-06-11 11:32:24 +1000 |
---|---|---|
committer | Calvin Bui <3604363+calvinbui@users.noreply.github.com> | 2020-06-11 11:32:24 +1000 |
commit | d10b219db596bb215db502b42e19443b8924fd56 (patch) | |
tree | 264865a94d870f203a2cf26dae230d2f58a5bd28 /Dockerfile.arm64v8 | |
parent | ac1442c640645b1b80b98fc3c25504df439ea1fa (diff) | |
download | homer-d10b219db596bb215db502b42e19443b8924fd56.tar.gz homer-d10b219db596bb215db502b42e19443b8924fd56.tar.zst homer-d10b219db596bb215db502b42e19443b8924fd56.zip |
copy artifacts later in the build step with permissions
Diffstat (limited to 'Dockerfile.arm64v8')
-rw-r--r-- | Dockerfile.arm64v8 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile.arm64v8 b/Dockerfile.arm64v8 index c007d04..2f26d09 100644 --- a/Dockerfile.arm64v8 +++ b/Dockerfile.arm64v8 | |||
@@ -20,7 +20,6 @@ RUN wget https://github.com/multiarch/qemu-user-static/releases/download/${QEMU_ | |||
20 | FROM arm64v8/alpine:3.11 | 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 | COPY --from=build-stage /app/dist /www/ | ||
24 | 23 | ||
25 | ENV USER darkhttpd | 24 | ENV USER darkhttpd |
26 | ENV GROUP darkhttpd | 25 | ENV GROUP darkhttpd |
@@ -33,4 +32,6 @@ RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} & | |||
33 | 32 | ||
34 | USER ${USER} | 33 | USER ${USER} |
35 | 34 | ||
35 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ | ||
36 | |||
36 | ENTRYPOINT ["darkhttpd","/www/","--no-listing"] | 37 | ENTRYPOINT ["darkhttpd","/www/","--no-listing"] |