Files
server/src/Identity/Dockerfile

18 lines
294 B
Docker
Raw Normal View History

2018-02-22 07:52:21 -05:00
FROM microsoft/aspnetcore:2.0.5
2017-08-04 12:21:13 -04:00
2018-03-23 21:58:45 -04:00
USER root
2018-03-23 21:17:37 -04:00
RUN groupadd -g 999 bitwarden && \
useradd -r -u 999 -g bitwarden bitwarden
2018-03-23 21:58:45 -04:00
USER bitwarden
2017-08-04 12:21:13 -04:00
WORKDIR /app
EXPOSE 80
2017-08-07 11:24:16 -04:00
COPY obj/Docker/publish .
COPY entrypoint.sh /
2018-03-23 21:58:45 -04:00
USER root
2017-08-07 11:24:16 -04:00
RUN chmod +x /entrypoint.sh
2018-03-23 21:58:45 -04:00
USER bitwarden
2017-08-07 11:24:16 -04:00
ENTRYPOINT ["/entrypoint.sh"]