From bf18ebfbc3c54b263da201ca8c5f082829a0ce54 Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Mon, 15 Apr 2019 16:24:57 +0200 Subject: [PATCH] Build new package --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 47711d9..a6f243c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]