From 1af7a22460dafe12f22f9b564d946f3d583f4cb0 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sun, 6 Dec 2015 03:44:47 +0100 Subject: debuging images and improve startup display --- Services/postgres/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Services/postgres/Dockerfile') diff --git a/Services/postgres/Dockerfile b/Services/postgres/Dockerfile index a8da28e..22e5761 100644 --- a/Services/postgres/Dockerfile +++ b/Services/postgres/Dockerfile @@ -15,7 +15,8 @@ RUN chmod 775 /bin/run.sh && \ mkdir -p $DATA_PATH && \ mkdir -p $LOG_PATH && \ touch $STARTUPLOG && \ - chown -R postgres:postgres $LOG_PATH $DATA_PATH $LOADSQL_PATH + chown -R postgres:postgres $LOG_PATH $DATA_PATH $LOADSQL_PATH $STARTUPLOG && \ + chmod -R 0700 $DATA_PATH EXPOSE 5432 VOLUME [$DATA_PATH,$LOG_PATH] -- cgit v1.2.3