mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 13:08:17 -05:00
18 lines
378 B
Docker
18 lines
378 B
Docker
FROM microsoft/dotnet:2.1.4-aspnetcore-runtime
|
|
|
|
LABEL com.bitwarden.product="bitwarden"
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
gosu \
|
|
&& 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
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|