1
0
mirror of https://github.com/bitwarden/server synced 2026-01-18 16:33:29 +00:00

Adding the events processor container image (#1271)

This commit is contained in:
Joseph Flinn
2021-04-15 08:28:55 -07:00
committed by GitHub
parent b68c841e56
commit ba36afe69c
3 changed files with 61 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1
LABEL com.bitwarden.product="bitwarden"
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
gosu \
curl \
&& rm -rf /var/lib/apt/lists/*
ENV ASPNETCORE_URLS http://+:5000
WORKDIR /app
EXPOSE 5000
COPY obj/Docker/publish .
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
HEALTHCHECK CMD curl -f http://localhost:5000/alive || exit 1
CMD ["./../entrypoint.sh"]