1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-12 20:20:37 +01:00
bitwarden-server/util/Setup/Dockerfile
Kyle Spearrin f96911ed57 Revert "running as bitwarden user"
This reverts commit 19fa9bf806.
2018-03-23 22:16:57 -04:00

14 lines
295 B
Docker

FROM microsoft/dotnet:2.0.5-runtime
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
openssl \
&& rm -rf /var/lib/apt/lists/*
RUN groupadd -g 999 bitwarden && \
useradd -r -u 999 -g bitwarden bitwarden
USER bitwarden
WORKDIR /app
COPY obj/Docker/publish .