diff --git a/Dockerfile b/Dockerfile index 8d4f48a..b063d49 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,9 +16,9 @@ RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-k && rm -rf ${PG_HOME} \ && rm -rf /var/lib/apt/lists/* -COPY start /start -RUN chmod 755 /start +COPY entrypoint.sh /sbin/entrypoint.sh +RUN chmod 755 /sbin/entrypoint.sh EXPOSE 5432/tcp VOLUME ["${PG_HOME}", "/run/postgresql"] -CMD ["/start"] +CMD ["/sbin/entrypoint.sh"] diff --git a/start b/entrypoint.sh similarity index 100% rename from start rename to entrypoint.sh