1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-28 17:57:37 +01:00
bitwarden-server/util/MsSql/Dockerfile

19 lines
435 B
Docker
Raw Normal View History

2017-10-02 21:13:51 +02:00
FROM microsoft/mssql-server-linux:2017-latest
2017-08-21 16:58:00 +02:00
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
cron \
&& rm -rf /var/lib/apt/lists/*
COPY crontab /etc/cron.d/bitwarden-cron
RUN chmod 0644 /etc/cron.d/bitwarden-cron \
&& touch /var/log/cron.log
COPY backup-db.sql /
COPY backup-db.sh /
RUN chmod +x /backup-db.sh
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]