2018-03-28 16:13:01 +02:00
|
|
|
FROM microsoft/dotnet:2.0.6-runtime
|
2017-08-07 22:31:00 +02:00
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y --no-install-recommends \
|
|
|
|
openssl \
|
2018-03-27 20:55:33 +02:00
|
|
|
gosu \
|
2018-03-24 03:16:57 +01:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2017-08-07 22:31:00 +02:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
COPY obj/Docker/publish .
|
2018-03-27 20:55:33 +02:00
|
|
|
COPY entrypoint.sh /
|
2018-03-26 17:21:03 +02:00
|
|
|
|
|
|
|
RUN groupadd -g 999 bitwarden \
|
2018-03-27 20:55:33 +02:00
|
|
|
&& chmod +x /entrypoint.sh
|
2018-03-26 17:21:03 +02:00
|
|
|
|
2018-03-27 20:55:33 +02:00
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|