Build the image on every deploy instead of pulling it

Portainer's "Pull and redeploy" tried to pull proposal-bot from Docker Hub
and failed. pull_policy: build skips the pull and rebuilds from the repo,
so code changes take effect on redeploy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
uhlwoogiandClaude Opus 5.5 committed 2026-10-02 23:59:48 +00:00
1 parent d1c9b7bebb
commit 752c69bc8b
1 file changed
+2
+2
View File
@@ -5,6 +5,8 @@ services:
build:
context: .
image: proposal-bot:latest
# Always build from this repo on deploy; never try to pull proposal-bot from a registry.
pull_policy: build
container_name: proposal-bot
restart: unless-stopped
# Reaps the headless Chromium processes the InDesign export starts.