Removes volume. Adds healthcheck.
This commit is contained in:
parent
556721b3de
commit
b9d0ba104c
|
@ -1,4 +1,5 @@
|
|||
FROM postgres
|
||||
COPY ./initdb.sh /docker-entrypoint-initdb.d/initdb.sh
|
||||
|
||||
HEALTHCHECK CMD ["pg_isready"]
|
||||
EXPOSE 5432
|
||||
VOLUME ["/var/lib/postgresql/data"]
|
||||
|
|
Loading…
Reference in New Issue