1
0
mirror of https://github.com/bitwarden/server synced 2025-12-23 11:43:23 +00:00
Files
server/src/Api/Dockerfile
Kyle Spearrin f71433d09a remove libcurl3
2020-01-10 08:55:22 -05:00

21 lines
459 B
Docker

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/Api .
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
HEALTHCHECK CMD curl -f http://localhost:5000/alive || exit 1
ENTRYPOINT ["/entrypoint.sh"]