2022-02-02 15:22:25 +01:00
|
|
|
FROM bitwarden/server
|
2017-08-07 23:07:56 +02:00
|
|
|
|
2018-06-09 14:17:56 +02:00
|
|
|
LABEL com.bitwarden.product="bitwarden"
|
|
|
|
|
2018-03-27 21:44:25 +02:00
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y --no-install-recommends \
|
|
|
|
gosu \
|
2019-07-26 17:59:59 +02:00
|
|
|
curl \
|
2018-03-27 21:44:25 +02:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2018-03-26 17:24:09 +02:00
|
|
|
ENV ASPNETCORE_URLS http://+:5000
|
2017-08-07 23:07:56 +02:00
|
|
|
WORKDIR /app
|
2018-03-26 17:24:09 +02:00
|
|
|
EXPOSE 5000
|
2018-07-18 21:21:51 +02:00
|
|
|
COPY ./build .
|
2018-03-26 17:24:09 +02:00
|
|
|
COPY entrypoint.sh /
|
2018-04-16 21:17:13 +02:00
|
|
|
RUN chmod +x /entrypoint.sh
|
2017-08-15 17:57:04 +02:00
|
|
|
|
2019-07-26 17:59:59 +02:00
|
|
|
HEALTHCHECK CMD curl -f http://localhost:5000 || exit 1
|
|
|
|
|
2017-08-07 23:07:56 +02:00
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|