1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-29 13:25:17 +01:00
bitwarden-server/src/Admin/Dockerfile
2018-03-23 21:58:45 -04:00

18 lines
294 B
Docker

FROM microsoft/aspnetcore:2.0.5
USER root
RUN groupadd -g 999 bitwarden && \
useradd -r -u 999 -g bitwarden bitwarden
USER bitwarden
WORKDIR /app
EXPOSE 80
COPY obj/Docker/publish .
COPY entrypoint.sh /
USER root
RUN chmod +x /entrypoint.sh
USER bitwarden
ENTRYPOINT ["/entrypoint.sh"]