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:
parent
db85f3263d
commit
467347e902
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user