From 9481001b0563b66961047f944a135b3d1dc75c31 Mon Sep 17 00:00:00 2001 From: CJ_Clippy Date: Thu, 14 Aug 2025 04:43:58 -0800 Subject: [PATCH] use python no-cache dir --- services/our/Dockerfile | 2 +- services/our/compose.production.yaml | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/services/our/Dockerfile b/services/our/Dockerfile index 7371c31..6839f0c 100644 --- a/services/our/Dockerfile +++ b/services/our/Dockerfile @@ -58,7 +58,7 @@ RUN python3 -m venv /app/venv ENV PATH="/app/venv/bin:$PATH" # Install torrentfile & other python deps -RUN ./venv/bin/pip install -r requirements.txt +RUN ./venv/bin/pip install --no-cache-dir -r requirements.txt # Expose the port EXPOSE 5000 diff --git a/services/our/compose.production.yaml b/services/our/compose.production.yaml index a996546..ae83a8a 100644 --- a/services/our/compose.production.yaml +++ b/services/our/compose.production.yaml @@ -28,6 +28,10 @@ services: timeout: 10s networks: - default + logging: + driver: fluentd + options: + fluentd-address: "localhost:24224" server: image: gitea.futureporn.net/futureporn/our:latest @@ -43,6 +47,10 @@ services: sh -c "npx prisma migrate deploy && npm run start:server" volumes: - /mnt/vfs/futureporn:/mnt/vfs/futureporn + logging: + driver: fluentd + options: + fluentd-address: "localhost:24224" worker: image: gitea.futureporn.net/futureporn/our:latest @@ -58,7 +66,10 @@ services: sh -c "npm run start:worker" volumes: - /mnt/vfs/futureporn:/mnt/vfs/futureporn - + logging: + driver: fluentd + options: + fluentd-address: "localhost:24224" volumes: pgdata: