mirror of
https://github.com/wassname/docker-postgresql.git
synced 2026-06-29 01:26:27 +08:00
dockerfile: added volume instruction for /var/lib/postgresql
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user