diff options
author | Robin Schneider <45321827+robinschneider@users.noreply.github.com> | 2021-10-07 00:15:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-07 00:15:26 +0200 |
commit | 270e522e0ee2bb9bef795251796abbfc74efbef3 (patch) | |
tree | c8a22126b6393b48b6c3bd0365befd6fd695faaf /Dockerfile | |
parent | 584f2b4b32e69865d9561f1537142791710f676d (diff) | |
parent | 220c60cba04e86e782e9610aa8ef0d77e221072c (diff) | |
download | homer-270e522e0ee2bb9bef795251796abbfc74efbef3.tar.gz homer-270e522e0ee2bb9bef795251796abbfc74efbef3.tar.zst homer-270e522e0ee2bb9bef795251796abbfc74efbef3.zip |
Merge branch 'bastienwirtz:main' into hotkey
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -25,6 +25,9 @@ COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist /www/ | |||
25 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets | 25 | COPY --from=build-stage --chown=${USER}:${GROUP} /app/dist/assets /www/default-assets |
26 | COPY entrypoint.sh /entrypoint.sh | 26 | COPY entrypoint.sh /entrypoint.sh |
27 | 27 | ||
28 | HEALTHCHECK --interval=30s --timeout=5s --retries=3 \ | ||
29 | CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${PORT}/ || exit 1 | ||
30 | |||
28 | EXPOSE ${PORT} | 31 | EXPOSE ${PORT} |
29 | VOLUME /www/assets | 32 | VOLUME /www/assets |
30 | ENTRYPOINT ["/bin/sh", "/entrypoint.sh"] | 33 | ENTRYPOINT ["/bin/sh", "/entrypoint.sh"] |