mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
health checks for docker
This commit is contained in:
@ -5,6 +5,7 @@ LABEL com.bitwarden.product="bitwarden"
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
gosu \
|
||||
curl \
|
||||
libcurl3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
@ -15,4 +16,6 @@ COPY obj/Docker/publish .
|
||||
COPY entrypoint.sh /
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
HEALTHCHECK CMD curl -f http://localhost:5000 || exit 1
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
Reference in New Issue
Block a user