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

18 lines
354 B
Docker
Raw Normal View History

2018-03-28 16:13:01 +02:00
FROM microsoft/aspnetcore:2.0.6
2018-03-24 02:11:17 +01:00
2018-03-27 20:55:33 +02:00
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
gosu \
&& rm -rf /var/lib/apt/lists/*
2018-03-24 04:03:09 +01:00
ENV ASPNETCORE_URLS http://+:5000
2018-03-24 02:11:17 +01:00
WORKDIR /app
2018-03-24 03:46:09 +01:00
EXPOSE 5000
2018-03-24 02:11:17 +01:00
COPY obj/Docker/publish .
COPY entrypoint.sh /
2018-03-24 03:28:58 +01:00
RUN groupadd -g 999 bitwarden \
2018-03-27 20:55:33 +02:00
&& chmod +x /entrypoint.sh
2018-03-24 03:28:58 +01:00
2018-03-24 02:11:17 +01:00
ENTRYPOINT ["/entrypoint.sh"]