Create an image for db backups

This commit is contained in:
Ajay
2022-05-17 01:29:49 -04:00
parent 901a42d1b4
commit dfbc32617b
5 changed files with 29 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
FROM ghcr.io/ajayyy/sb-server:latest
EXPOSE 873/tcp
RUN apk add rsync>3.2.4-r0
RUN mkdir /usr/src/app/database-export
CMD rsync --no-detach --daemon & ./entrypoint.sh