Rebuild local NAS image from source on Compose deployment

This commit is contained in:
2026-10-14 10:26:19 +09:00
parent 9f12651a9c
commit 46ad429cc7
3 changed files with 18 additions and 33 deletions

View File

@@ -1,8 +1,8 @@
services:
hop:
image: hop.noname.company:latest
# This image is built on the NAS; it is not published in a registry.
pull_policy: never
# Rebuild from source on deployment, even when the local image already exists.
pull_policy: build
build:
context: .
dockerfile: Dockerfile