mirror of
https://github.com/wassname/docker-postgresql.git
synced 2026-08-11 11:17:48 +08:00
renamed init script to start
This commit is contained in:
+3
-3
@@ -6,9 +6,9 @@ RUN apt-get update && \
|
|||||||
rm -rf /var/lib/postgresql && \
|
rm -rf /var/lib/postgresql && \
|
||||||
apt-get clean # 20140525
|
apt-get clean # 20140525
|
||||||
|
|
||||||
ADD init /init
|
ADD start /start
|
||||||
RUN chmod 755 /init
|
RUN chmod 755 /start
|
||||||
|
|
||||||
EXPOSE 5432
|
EXPOSE 5432
|
||||||
VOLUME ["/var/lib/postgresql"]
|
VOLUME ["/var/lib/postgresql"]
|
||||||
CMD ["/init"]
|
CMD ["/start"]
|
||||||
|
|||||||
Reference in New Issue
Block a user