From 28cd9220541cbbf70c55f2adf86e29108cc22bad Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 22 Oct 2021 21:35:22 +0200 Subject: [PATCH] Update Dockerfile --- webtrees/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webtrees/Dockerfile b/webtrees/Dockerfile index e6afeab25..ed1aa8f1d 100644 --- a/webtrees/Dockerfile +++ b/webtrees/Dockerfile @@ -7,6 +7,8 @@ ARG BASHIO_VERSION=0.13.1 COPY rootfs / ENV WEBTREES_HOME="/data/webtrees" +WORKDIR $WEBTREES_HOME +ENTRYPOINT ["/run.sh"] RUN \ ################ @@ -44,7 +46,7 @@ RUN \ # Add entry script && chown www-data:www-data /start.sh \ && chmod a+x /start.sh \ - && sed -i "2 i\cd / && ./start.sh" /docker-entrypoint.sh \ + #&& sed -i "2 i\cd / && ./start.sh" /docker-entrypoint.sh \ # Add end script && chown www-data:www-data /end.sh \ && chmod a+x /end.sh \