2017-10-03 03:27:44 +02:00
|
|
|
FROM bitwarden/server
|
2017-08-07 23:07:56 +02:00
|
|
|
|
2018-03-24 02:21:01 +01:00
|
|
|
RUN groupadd -g 999 bitwarden && \
|
|
|
|
useradd -r -u 999 -g bitwarden bitwarden
|
|
|
|
USER bitwarden
|
|
|
|
|
2017-08-07 23:07:56 +02:00
|
|
|
WORKDIR /app
|
|
|
|
COPY ./dist .
|
|
|
|
|
2017-08-15 17:57:04 +02:00
|
|
|
EXPOSE 80
|
|
|
|
|
2017-08-07 23:07:56 +02:00
|
|
|
COPY entrypoint.sh /
|
|
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|