renamed start script to entrypoint.sh

This commit is contained in:
Sameer Naik
2015-08-16 11:38:25 +05:30
parent c37ff75c41
commit 17c826882a
2 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -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"]
View File