1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-10-29 04:41:14 +00:00

Improve shutdown behavior (on kubernetes)

This commit is contained in:
Marco Kilchhofer 2021-01-22 08:18:38 +01:00
commit 1e31043fb3
7 changed files with 16 additions and 15 deletions

View file

@ -74,6 +74,7 @@ ENV SSL_CERT_DIR=/etc/ssl/certs
RUN apk add --no-cache \
openssl \
curl \
dumb-init \
sqlite \
postgresql-libs \
ca-certificates
@ -96,5 +97,5 @@ HEALTHCHECK --interval=60s --timeout=10s CMD ["/healthcheck.sh"]
# Configures the startup!
WORKDIR /
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["/start.sh"]