mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-11-23 16:02:29 +00:00
Build new package
This commit is contained in:
@@ -1,12 +1,10 @@
|
|||||||
FROM restic/restic
|
FROM restic/restic
|
||||||
|
|
||||||
ADD requirements.txt /
|
|
||||||
RUN apk update && apk add python3 dcron mariadb-client postgresql-client
|
RUN apk update && apk add python3 dcron mariadb-client postgresql-client
|
||||||
RUN pip3 install -r requirements.txt
|
|
||||||
|
|
||||||
ADD restic-backup /restic-backup
|
ADD . /restic-volume-backup
|
||||||
|
WORKDIR /restic-volume-backup
|
||||||
WORKDIR /restic-backup
|
RUN pip3 install -U pip setuptools && python3 setup.py develop
|
||||||
|
|
||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
CMD ["/restic-backup/entrypoint.sh"]
|
CMD ["/restic-backup/entrypoint.sh"]
|
||||||
|
|||||||
Reference in New Issue
Block a user