Build new package
This commit is contained in:
parent
ffb0c501b8
commit
bf18ebfbc3
|
@ -1,12 +1,10 @@
|
|||
FROM restic/restic
|
||||
|
||||
ADD requirements.txt /
|
||||
RUN apk update && apk add python3 dcron mariadb-client postgresql-client
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
ADD restic-backup /restic-backup
|
||||
|
||||
WORKDIR /restic-backup
|
||||
ADD . /restic-volume-backup
|
||||
WORKDIR /restic-volume-backup
|
||||
RUN pip3 install -U pip setuptools && python3 setup.py develop
|
||||
|
||||
ENTRYPOINT []
|
||||
CMD ["/restic-backup/entrypoint.sh"]
|
||||
|
|
Loading…
Reference in New Issue