diff --git a/Dockerfile b/Dockerfile index 777a906..7e8ca42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,10 @@ FROM python:3.12-slim WORKDIR /app COPY requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt +RUN apt-get update && \ + apt-get install -y --no-install-recommends rclone docker.io tar && \ + rm -rf /var/lib/apt/lists/* && \ + pip install --no-cache-dir -r requirements.txt COPY app.py . COPY static/ /app/static/ diff --git a/docker-compose.yml b/docker-compose.yml index d486aba..f9f177a 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,10 @@ services: - .:/app - /root/backup.log:/root/backup.log:rw - /tmp/restore-temp:/tmp/restore-temp:rw + - /var/run/docker.sock:/var/run/docker.sock + - /root/.config/rclone:/root/.config/rclone:ro + - /root/Apps:/root/Apps:ro + - /var/lib/docker/volumes:/var/lib/docker/volumes:ro env_file: - .env networks: