Hardened the Docker build of the Website service target.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user