fix: add cache-bust build arg to force Docker rebuild on deploy
Portainer stack updates were serving stale cached Docker layers. Added CACHE_BUST ARG so each deploy can force a fresh build. Set CACHE_BUST env var in Portainer to current timestamp to trigger. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
8e9285cd50
commit
834be596ba
+4
-1
@@ -1,6 +1,9 @@
|
||||
services:
|
||||
botfights:
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
CACHE_BUST: ${CACHE_BUST:-0}
|
||||
container_name: botfights
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user