fix : portabilite Docker/Makefile sur macOS Apple Silicon

- env-init : test -f || cp (au lieu de cp --update=none, GNU-only, et cp -n
  qui renvoie exit 1 sur BSD quand la cible existe) — idempotent et POSIX
- Dockerfile : telechargement de node selon l'architecture detectee
  (x64 sur amd64, arm64 sur Apple Silicon)
This commit is contained in:
Tristan Autin
2026-06-29 17:53:25 +02:00
parent d1da48ea74
commit ee41c626f1
2 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ help:
@printf "\n Plus de details : \033[4mREADME.md\033[0m, \033[4mCLAUDE.md\033[0m\n\n"
env-init:
@cp --update=none $(ENV_DEFAULT) $(ENV_LOCAL)
@test -f $(ENV_LOCAL) || cp $(ENV_DEFAULT) $(ENV_LOCAL)
# Lance le container
start: env-init