From cd8a7a8322ecf56ae0fd88a769f7810c6e386fc3 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Tue, 25 Mar 2025 16:52:32 +0100 Subject: [PATCH 1/2] build(compose.yaml): fix backend binary path bind; add bin path to PATH --- compose.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compose.yaml b/compose.yaml index 2ecf7a530..3fda3e466 100644 --- a/compose.yaml +++ b/compose.yaml @@ -27,10 +27,11 @@ services: build: context: ./backend dockerfile: ./Dockerfile - userns_mode: host + environment: + PATH: /fradrive/bin:$PATH volumes: - ./backend:/fradrive - - ./bin:/usr/bin/fradrive + - ./bin:/fradrive/bin - ./assets:/fradrive/assets:ro - ./static:/fradrive/static:ro - ./well-known:/fradrive/well-known:ro From 020486819fc8a675602b1f9307f3a1d2b9291813 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Tue, 25 Mar 2025 17:15:31 +0100 Subject: [PATCH 2/2] build(Makefile): add shell-$SERVICE target --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 77815988d..bd281da99 100644 --- a/Makefile +++ b/Makefile @@ -75,6 +75,10 @@ start: start-postgres start-maildev start-memcached start-minio start-backend start-%: docker compose up -d --build $* +.PHONY: shell-% +shell-%: + docker compose run $* + .PHONY: stop # HELP: stop all services stop: