1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-24 17:17:40 +01:00
bitwarden-server/util/Setup/Dockerfile
2018-03-23 21:58:45 -04:00

15 lines
309 B
Docker

FROM microsoft/dotnet:2.0.5-runtime
USER root
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 .