2020-01-10 14:33:13 +01:00
|
|
|
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1
|
2019-07-09 20:49:34 +02:00
|
|
|
|
|
|
|
LABEL com.bitwarden.product="bitwarden"
|
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y --no-install-recommends \
|
|
|
|
gosu \
|
2019-07-26 17:59:42 +02:00
|
|
|
curl \
|
2019-07-09 20:49:34 +02:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
ENV ASPNETCORE_URLS http://+:5000
|
|
|
|
WORKDIR /app
|
|
|
|
EXPOSE 5000
|
|
|
|
COPY obj/Docker/publish/Events .
|
|
|
|
COPY entrypoint.sh /
|
|
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
|
2019-07-26 17:59:42 +02:00
|
|
|
HEALTHCHECK CMD curl -f http://localhost:5000/alive || exit 1
|
|
|
|
|
2019-07-09 20:49:34 +02:00
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|