mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
15 lines
309 B
Docker
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 .
|