summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJonas Zohren <gitlab-jfowl-0ux98@sh14.de>2021-11-25 22:36:44 +0000
committerTimo Kösters <timo@koesters.xyz>2021-11-25 22:36:44 +0000
commit9bfc7b34b6d72def7da19ccd1decbe1ac2c7e6db (patch)
treededd9596d15132685b79943926a81caeed7a0aca /Dockerfile
parentafa5d449c605b6ddae8d2397b2996fda356f8b78 (diff)
downloadconduit-9bfc7b34b6d72def7da19ccd1decbe1ac2c7e6db.zip
Fixes for !225
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index d137353..6a9ea73 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -54,11 +54,11 @@ RUN apk add --no-cache \
RUN mkdir -p /srv/conduit/.local/share/conduit
# Test if Conduit is still alive, uses the same endpoint as Element
-COPY ./docker/healthcheck.sh /srv/conduit/
+COPY ./docker/healthcheck.sh /srv/conduit/healthcheck.sh
HEALTHCHECK --start-period=5s --interval=5s CMD ./healthcheck.sh
# Copy over the actual Conduit binary from the builder stage
-COPY --from=builder /usr/src/conduit/target/release/conduit /srv/conduit/
+COPY --from=builder /usr/src/conduit/target/release/conduit /srv/conduit/conduit
# Improve security: Don't run stuff as root, that does not need to run as root:
# Add www-data user and group with UID 82, as used by alpine