fix(deploy): worker builds the image too instead of pulling 'datewise' from Docker Hub

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
metatroncubeswdev 2026-10-15 01:14:51 -04:00
parent db85f3263d
commit 467347e902

View File

@ -32,6 +32,7 @@ services:
app: app:
build: . build: .
image: datewise:latest image: datewise:latest
pull_policy: build
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
db: db:
@ -42,7 +43,9 @@ services:
# Sweeps expired holds, sends reminders, offers freed places to the waitlist, reconciles missed orders. # Sweeps expired holds, sends reminders, offers freed places to the waitlist, reconciles missed orders.
worker: worker:
build: . # same Dockerfile; the build cache makes this free after the app's build
image: datewise:latest image: datewise:latest
pull_policy: build # never look for "datewise" on Docker Hub
restart: unless-stopped restart: unless-stopped
depends_on: depends_on:
app: app: