2019-05-07 17:14:37 +02:00
|
|
|
FROM mcr.microsoft.com/dotnet/core/aspnet:2.1.10
|
2017-10-23 15:27:47 +02:00
|
|
|
|
2018-06-09 14:17:16 +02:00
|
|
|
LABEL com.bitwarden.product="bitwarden"
|
|
|
|
|
2017-10-23 23:59:42 +02:00
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y --no-install-recommends \
|
2018-03-27 20:55:33 +02:00
|
|
|
gosu \
|
2017-10-23 23:59:42 +02:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2018-03-26 17:21:03 +02:00
|
|
|
ENV ASPNETCORE_URLS http://+:5000
|
2017-10-23 15:27:47 +02:00
|
|
|
WORKDIR /app
|
2018-03-26 17:21:03 +02:00
|
|
|
EXPOSE 5000
|
2017-10-23 15:27:47 +02:00
|
|
|
COPY obj/Docker/publish .
|
|
|
|
COPY entrypoint.sh /
|
2018-04-16 21:30:07 +02:00
|
|
|
RUN chmod +x /entrypoint.sh
|
2018-03-26 17:21:03 +02:00
|
|
|
|
2017-10-23 15:27:47 +02:00
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|