1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-04 14:13:28 +01:00
bitwarden-server/src/Admin/Dockerfile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
442 B
Docker
Raw Normal View History

FROM mcr.microsoft.com/dotnet/aspnet:8.0
2018-03-24 02:11:17 +01: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 \
curl \
2018-04-02 20:11:36 +02:00
&& rm -rf /var/lib/apt/lists/*
2018-03-27 20:55:33 +02:00
2018-03-24 04:03:09 +01:00
ENV ASPNETCORE_URLS http://+:5000
2018-03-24 02:11:17 +01:00
WORKDIR /app
2018-03-24 03:46:09 +01:00
EXPOSE 5000
COPY obj/build-output/publish .
COPY entrypoint.sh /
2018-04-16 21:30:07 +02:00
RUN chmod +x /entrypoint.sh
2018-03-24 03:28:58 +01:00
2019-07-26 17:59:42 +02:00
HEALTHCHECK CMD curl -f http://localhost:5000 || exit 1
2018-03-24 02:11:17 +01:00
ENTRYPOINT ["/entrypoint.sh"]