1
0
mirror of https://github.com/bitwarden/server synced 2025-12-16 00:03:54 +00:00
Files
server/src/Identity/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"]