From ff7ce1a61ea9d4540dbabd8eeb64c41bb89798eb Mon Sep 17 00:00:00 2001 From: giles Date: Sun, 11 Jan 2026 12:44:44 +0000 Subject: [PATCH] Add cache busting to force pip to re-fetch dependencies Co-Authored-By: Claude Opus 4.5 --- Dockerfile | 1 + deploy.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 834c904..409aadf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends git && rm -rf / # Install dependencies COPY requirements.txt . +ARG CACHEBUST=1 RUN pip install --no-cache-dir -r requirements.txt # Copy application diff --git a/deploy.sh b/deploy.sh index 4bedb33..aac2460 100755 --- a/deploy.sh +++ b/deploy.sh @@ -7,7 +7,7 @@ echo "=== Pulling latest code ===" git pull echo "=== Building Docker image ===" -docker build -t git.rose-ash.com/art-dag/l2-server:latest . +docker build --build-arg CACHEBUST=$(date +%s) -t git.rose-ash.com/art-dag/l2-server:latest . echo "=== Redeploying activitypub stack ===" docker stack deploy -c docker-compose.yml activitypub