- 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
31 lines
527 B
YAML
31 lines
527 B
YAML
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
|
|
|