Production Hardening (#241)

This commit is contained in:
antoineHC authored and Kyâne Pichou committed 2018-04-15 19:33:49 +02:00
1 parent 4f0a5376f3
commit f79bbea7a4
8 files changed
+49 -14

No files matched your search

+5
View File
@@ -18,7 +18,12 @@ RUN apk add --no-cache \
# Add wale script
COPY setup-wale.sh /docker-entrypoint-initdb.d/
#Healthcheck to make sure container is ready
HEALTHCHECK CMD pg_isready -U postgres || exit 1
# Add and configure entrypoint and command
COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["postgres"]
VOLUME ["/var/run/postgresql", "/usr/share/postgresql/", "/var/lib/postgresql/data", "/tmp"]