diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-06-28 11:07:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-28 11:07:37 -0700 |
commit | 25b6367aa14a6aefa842f70dc208fdb3e11f6e06 (patch) | |
tree | 41bdb9b456cbb8d59aaf421e8c82582a4eabcc55 /Dockerfile.arm32v7 | |
parent | 796a16c8da1e40aef418559ade2252a5275708c8 (diff) | |
parent | b102c9b2b3aaa4d66bda8d932ba2d6bd4575c044 (diff) | |
download | homer-25b6367aa14a6aefa842f70dc208fdb3e11f6e06.tar.gz homer-25b6367aa14a6aefa842f70dc208fdb3e11f6e06.tar.zst homer-25b6367aa14a6aefa842f70dc208fdb3e11f6e06.zip |
Merge pull request #94 from bastienwirtz/avoid-file-volume
Regroup all editable files in one place
Diffstat (limited to 'Dockerfile.arm32v7')
-rw-r--r-- | Dockerfile.arm32v7 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile.arm32v7 b/Dockerfile.arm32v7 index ef01d1f..ba9c95d 100644 --- a/Dockerfile.arm32v7 +++ b/Dockerfile.arm32v7 | |||
@@ -32,9 +32,10 @@ RUN addgroup -S ${GROUP} -g ${GID} && adduser -D -S -u ${UID} ${USER} ${GROUP} & | |||
32 | rm /usr/bin/qemu-arm-static | 32 | rm /usr/bin/qemu-arm-static |
33 | 33 | ||
34 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ | 34 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ |
35 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets | ||
35 | COPY --chown=${USER}:${GROUP} entrypoint.sh /entrypoint.sh | 36 | COPY --chown=${USER}:${GROUP} entrypoint.sh /entrypoint.sh |
36 | 37 | ||
37 | USER ${USER} | 38 | USER ${USER} |
38 | EXPOSE ${PORT} | 39 | EXPOSE ${PORT} |
39 | VOLUME [ "/www/config.yml", "/www/assets" ] | 40 | VOLUME /www/assets |
40 | ENTRYPOINT ["/bin/sh", "/entrypoint.sh"] | 41 | ENTRYPOINT ["/bin/sh", "/entrypoint.sh"] |