From 22f08a232df08e158e20013bb7b8be95ae38e031 Mon Sep 17 00:00:00 2001 From: Benjamin Admin Date: Fri, 22 May 2026 00:22:34 +0200 Subject: [PATCH] Pin solver-service to linux/amd64 (no ARM wheels on PyPI) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit timefold-solver only publishes x86_64 wheels — pip resolves to no candidate on linux/arm64. Switch the compose entry to linux/amd64 so the image builds via QEMU/Rosetta on the Mac Mini. The cloud target for this service is x86_64 anyway. Co-Authored-By: Claude Opus 4.7 (1M context) --- docker-compose.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index b2796b2..1c111d8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -302,7 +302,10 @@ services: context: ./timetable-solver-service dockerfile: Dockerfile container_name: bp-lehrer-timetable-solver - platform: linux/arm64 + # timefold-solver only ships x86_64 wheels — emulate via Rosetta on + # the ARM Mac Mini. Cloud target (memory says cloud OK for this svc) + # would be linux/amd64 native. + platform: linux/amd64 ports: - "8095:8095" environment: