dockerfile: added volume instruction for /var/lib/postgresql

This commit is contained in:
Sameer Naik
2014-04-15 14:46:04 +05:30
parent 1078c361b3
commit 34c1063b9b
+2
View File
@@ -30,5 +30,7 @@ RUN chmod 700 /root/.ssh && chmod 600 /root/.ssh/authorized_keys && chown root:r
EXPOSE 22
EXPOSE 5432
VOLUME ["/var/lib/postgresql"]
ENTRYPOINT ["/app/init"]
CMD ["app:start"]