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

24
capacitor.config.ts Normal file
View File

@ -0,0 +1,24 @@
import { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'com.pensionmarama.admin',
appName: 'Compagnon Admin',
webDir: 'out',
server: {
androidScheme: 'https',
// Pour le développement, vous pouvez utiliser localhost
// url: 'http://localhost:3000',
// cleartext: true
},
android: {
buildOptions: {
keystorePath: undefined,
keystorePassword: undefined,
keystoreAlias: undefined,
keystoreAliasPassword: undefined
}
}
};
export default config;