Set "platforms" when building with docker-compose.

Follow-up to #384.
This commit is contained in:
Joachim Bauch 2023-01-17 11:59:38 +01:00
parent 0f9090bced
commit 2582e4ffb4
No known key found for this signature in database
GPG key ID: 77C1D22D53E15F02

View file

@ -5,6 +5,8 @@ services:
build:
context: ..
dockerfile: docker/server/Dockerfile
platforms:
- "linux/amd64"
volumes:
- ./server.conf:/config/server.conf
network_mode: host