summaryrefslogtreecommitdiffstats
path: root/Services/postgres/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Services/postgres/Dockerfile')
-rw-r--r--Services/postgres/Dockerfile3
1 files changed, 2 insertions, 1 deletions
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]