all dockerfiles

This commit is contained in:
Oliver Gorwits
2018-01-12 19:59:00 +00:00
parent 7161ec41ee
commit 6f373888b3
5 changed files with 27 additions and 8 deletions

View File

@@ -20,6 +20,6 @@ COPY netdisco-db-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/netdisco-db-entrypoint.sh
WORKDIR /
VOLUME /var/lib/postgresql/data
VOLUME ["/var/lib/postgresql/data"]
ENTRYPOINT ["/usr/local/bin/netdisco-db-entrypoint.sh"]
CMD ["postgres"]