From b9709aa4007ea15f958c851929a0830a34a2efdb Mon Sep 17 00:00:00 2001 From: Zoey Date: Thu, 11 May 2023 14:17:54 +0200 Subject: [PATCH] change script paths Signed-off-by: Zoey --- Containers/postgresql/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Containers/postgresql/Dockerfile b/Containers/postgresql/Dockerfile index 9b2e7e55..313360bd 100644 --- a/Containers/postgresql/Dockerfile +++ b/Containers/postgresql/Dockerfile @@ -1,8 +1,8 @@ # From https://github.com/docker-library/postgres/blob/master/15/alpine/Dockerfile FROM postgres:15.2-alpine -COPY --chmod=775 start.sh /usr/bin/start.sh -COPY --chmod=775 healthcheck.sh /usr/bin/healthcheck.sh +COPY --chmod=775 start.sh /start.sh +COPY --chmod=775 healthcheck.sh /healthcheck.sh COPY --chmod=775 init-user-db.sh /docker-entrypoint-initdb.d/init-user-db.sh RUN set -ex; \ @@ -29,7 +29,7 @@ RUN set -ex; \ VOLUME /mnt/data USER postgres -ENTRYPOINT ["start.sh"] +ENTRYPOINT ["/start.sh"] -HEALTHCHECK CMD healthcheck.sh +HEALTHCHECK CMD /healthcheck.sh LABEL com.centurylinklabs.watchtower.monitor-only="true"