use python no-cache dir

This commit is contained in:
CJ_Clippy 2025-08-14 04:43:58 -08:00
parent 2e35718ae1
commit 9481001b05
2 changed files with 13 additions and 2 deletions

View File

@ -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

View File

@ -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: