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