Move package to src/ to properly separate what goes into docker image

This commit is contained in:
Einar Forselv
2019-12-05 10:26:46 +01:00
parent 0af9f2e8ee
commit 130be30268
19 changed files with 2 additions and 2 deletions

11
src/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM restic/restic:0.9.6
RUN apk update && apk add python3 dcron mariadb-client postgresql-client
ADD . /restic-compose-backup
WORKDIR /restic-compose-backup
RUN pip3 install -U pip setuptools && pip3 install -e .
ENV XDG_CACHE_HOME=/cache
ENTRYPOINT []
CMD ["./entrypoint.sh"]