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