From c9099e4b98bf7b9b4b561759f9747488e4afe88d Mon Sep 17 00:00:00 2001 From: 100ask Date: Thu, 25 Jan 2024 22:05:49 -0500 Subject: [PATCH] add entrypoint cmd --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 381f779..d727c6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,4 +20,10 @@ RUN dos2unix -k /usr/local/bin/update-pg-password.sh /usr/local/bin/docker-entry RUN chmod +x /usr/local/bin/docker-entrypoint.sh RUN chmod +x /usr/local/bin/update-pg-password.sh -RUN chmod +x /docker-entrypoint-initdb.d/10_eulixspace.sh \ No newline at end of file +RUN chmod +x /docker-entrypoint-initdb.d/10_eulixspace.sh +ENTRYPOINT ["docker-entrypoint.sh"] + +STOPSIGNAL SIGINT + +EXPOSE 5432 +CMD ["postgres"] \ No newline at end of file