Ajout de l'environnement de build Docker pour générer l'APK Android

- Dockerfile.android avec Android SDK et Capacitor
- docker-compose.build.yml pour le build
- Scripts automatisés build-apk.sh et generate-apk.sh
- Configuration Capacitor pour Android
- Documentation BUILD_APK.md
This commit is contained in:
2025-11-23 09:04:07 +01:00
parent f633dbb1c0
commit 0169f0d5cb
7 changed files with 357 additions and 0 deletions

30
docker-compose.build.yml Normal file
View File

@ -0,0 +1,30 @@
version: '3.8'
services:
android-builder:
build:
context: .
dockerfile: Dockerfile.android
volumes:
- .:/app
- android-sdk-cache:/opt/android-sdk
- gradle-cache:/root/.gradle
- node-modules:/app/node_modules
environment:
- NODE_ENV=production
working_dir: /app
command: /bin/bash
stdin_open: true
tty: true
networks:
- build-network
volumes:
android-sdk-cache:
gradle-cache:
node-modules:
networks:
build-network:
driver: bridge