1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-02 13:53:23 +01:00
bitwarden-server/src/Admin/Dockerfile

14 lines
258 B
Docker
Raw Normal View History

2018-03-24 02:11:17 +01:00
FROM microsoft/aspnetcore:2.0.5
2018-03-24 02:17:37 +01:00
RUN groupadd -g 999 bitwarden && \
useradd -r -u 999 -g bitwarden bitwarden
USER bitwarden
2018-03-24 02:11:17 +01:00
WORKDIR /app
EXPOSE 80
COPY obj/Docker/publish .
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]