2017-10-03 03:27:31 +02:00
|
|
|
FROM bitwarden/server
|
2017-08-08 23:27:01 +02:00
|
|
|
|
2018-06-09 14:17:16 +02:00
|
|
|
LABEL com.bitwarden.product="bitwarden"
|
|
|
|
|
2018-03-27 20:55:33 +02:00
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y --no-install-recommends \
|
|
|
|
gosu \
|
2019-07-27 02:31:45 +02:00
|
|
|
curl \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2018-03-27 20:55:33 +02:00
|
|
|
|
2018-03-26 17:21:03 +02:00
|
|
|
ENV ASPNETCORE_URLS http://+:5000
|
|
|
|
EXPOSE 5000
|
2018-03-24 03:16:57 +01:00
|
|
|
COPY entrypoint.sh /
|
2018-04-16 21:30:07 +02:00
|
|
|
RUN chmod +x /entrypoint.sh
|
2018-03-26 17:21:03 +02:00
|
|
|
|
2019-07-27 02:31:45 +02:00
|
|
|
HEALTHCHECK CMD curl -f http://localhost:5000/alive || exit 1
|
|
|
|
|
2017-08-08 23:27:01 +02:00
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|