Add versioned image tags to force Portainer to rebuild images
Docker was reusing old cached images even on redeploy. By adding explicit image names with version tags (e.g. indeehub-app:v2), Docker must build new images since the old ones had no tag or a different tag. Bump the version (v2 -> v3) to force future rebuilds. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -16,6 +16,7 @@ version: '3.8'
|
||||
services:
|
||||
# ── Frontend (nginx serving built Vue app) ──────────────────
|
||||
app:
|
||||
image: indeehub-app:v2
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
@@ -43,6 +44,7 @@ services:
|
||||
|
||||
# ── Backend API (NestJS) ────────────────────────────────────
|
||||
api:
|
||||
image: indeehub-api:v2
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
@@ -175,6 +177,7 @@ services:
|
||||
|
||||
# ── FFmpeg Transcoding Worker ───────────────────────────────
|
||||
ffmpeg-worker:
|
||||
image: indeehub-ffmpeg:v2
|
||||
build:
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile.ffmpeg
|
||||
|
||||
Reference in New Issue
Block a user