Hardened the Docker build of the Website service target.

This commit is contained in:
2026-08-13 03:19:10 +02:00
parent 2206d71997
commit c075adad84
7 changed files with 42 additions and 15 deletions
+3 -1
View File
@@ -10,7 +10,9 @@
services:
website:
image: ${IMAGE_NAME}:${IMAGE_TAG:-latest}
platform: linux/arm64
# The local build targets the development machine, not the deployment: this cancels the base file's
# ${IMAGE_PLATFORM}. Set BUILD_PLATFORM=linux/amd64 in .env when developing on an Intel Mac or an amd64 Linux box.
platform: ${BUILD_PLATFORM:-linux/arm64}
build:
context: ../..
dockerfile: Services/Website/Dockerfile