🚀 Auto-deploy: BrainKP atualizado em 22/06/2026 18:44:46
This commit is contained in:
+4
-1
@@ -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/
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user