2017-10-03 03:27:44 +02:00
|
|
|
FROM bitwarden/server
|
2017-08-07 23:07:56 +02:00
|
|
|
|
2018-03-27 21:44:25 +02:00
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y --no-install-recommends \
|
|
|
|
gosu \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2018-03-26 17:24:09 +02:00
|
|
|
ENV ASPNETCORE_URLS http://+:5000
|
2017-08-07 23:07:56 +02:00
|
|
|
WORKDIR /app
|
2018-03-26 17:24:09 +02:00
|
|
|
EXPOSE 5000
|
2017-08-07 23:07:56 +02:00
|
|
|
COPY ./dist .
|
2018-03-26 17:24:09 +02:00
|
|
|
COPY entrypoint.sh /
|
2017-08-07 23:07:56 +02:00
|
|
|
|
2018-03-26 17:24:09 +02:00
|
|
|
RUN groupadd -g 999 bitwarden \
|
2018-03-27 21:44:25 +02:00
|
|
|
&& chmod +x /entrypoint.sh
|
2017-08-15 17:57:04 +02:00
|
|
|
|
2017-08-07 23:07:56 +02:00
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|