mirror of
https://github.com/wassname/docker-postgresql.git
synced 2026-08-12 12:00:50 +08:00
dockerfile: combine VOLUME instructions
This commit is contained in:
+1
-2
@@ -21,7 +21,6 @@ RUN chmod 755 /start
|
|||||||
|
|
||||||
EXPOSE 5432
|
EXPOSE 5432
|
||||||
|
|
||||||
VOLUME ["/var/lib/postgresql"]
|
VOLUME ["/var/lib/postgresql", "/run/postgresql"]
|
||||||
VOLUME ["/run/postgresql"]
|
|
||||||
|
|
||||||
CMD ["/start"]
|
CMD ["/start"]
|
||||||
|
|||||||
Reference in New Issue
Block a user