mirror of
https://github.com/wassname/docker-postgresql.git
synced 2026-06-27 23:53:23 +08:00
renamed start script to entrypoint.sh
This commit is contained in:
+3
-3
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user