1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00
bitwarden-server/util/Setup/Dockerfile

18 lines
414 B
Docker
Raw Normal View History

2018-02-22 13:52:21 +01:00
FROM microsoft/dotnet:2.0.5-runtime
2017-08-07 22:31:00 +02:00
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
openssl \
&& rm -rf /var/lib/apt/lists/*
2017-08-07 22:31:00 +02:00
WORKDIR /app
COPY obj/Docker/publish .
2018-03-26 17:21:03 +02:00
RUN groupadd -g 999 bitwarden \
&& useradd -r -u 999 -g bitwarden bitwarden \
&& chown -R bitwarden:bitwarden /app \
&& mkdir /bitwarden \
&& chown -R bitwarden:bitwarden /bitwarden
USER bitwarden