mirror of
https://github.com/bitwarden/server.git
synced 2024-12-23 17:07:42 +01:00
parent
f96911ed57
commit
232c9206f2
@ -1,9 +1,5 @@
|
||||
FROM microsoft/aspnetcore:2.0.5
|
||||
|
||||
RUN groupadd -g 999 bitwarden && \
|
||||
useradd -r -u 999 -g bitwarden bitwarden
|
||||
USER bitwarden
|
||||
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
COPY obj/Docker/publish .
|
||||
|
@ -5,10 +5,6 @@ RUN apt-get update \
|
||||
cron \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN groupadd -g 999 bitwarden && \
|
||||
useradd -r -u 999 -g bitwarden bitwarden
|
||||
USER bitwarden
|
||||
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
COPY obj/Docker/publish/Api .
|
||||
|
@ -5,10 +5,6 @@ RUN apt-get update \
|
||||
unzip \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN groupadd -g 999 bitwarden && \
|
||||
useradd -r -u 999 -g bitwarden bitwarden
|
||||
USER bitwarden
|
||||
|
||||
WORKDIR /tmp
|
||||
COPY iconserver.sha256 .
|
||||
RUN curl -L -o iconserver.zip https://github.com/mat/besticon/releases/download/v3.6.0/iconserver_linux_amd64.zip \
|
||||
|
@ -1,9 +1,5 @@
|
||||
FROM microsoft/aspnetcore:2.0.5
|
||||
|
||||
RUN groupadd -g 999 bitwarden && \
|
||||
useradd -r -u 999 -g bitwarden bitwarden
|
||||
USER bitwarden
|
||||
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
COPY obj/Docker/publish .
|
||||
|
@ -1,7 +1,2 @@
|
||||
FROM microsoft/aspnetcore:2.0.5
|
||||
|
||||
RUN groupadd -g 999 bitwarden && \
|
||||
useradd -r -u 999 -g bitwarden bitwarden
|
||||
USER bitwarden
|
||||
|
||||
COPY obj/Docker/publish /bitwarden_server
|
||||
|
@ -5,9 +5,5 @@ RUN apt-get update \
|
||||
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 .
|
||||
|
Loading…
Reference in New Issue
Block a user