diff --git a/.gitignore b/.gitignore index 2435aea..14a58e4 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,6 @@ react-native-packager-cache* haste-map-react-native-packager* .env android/build/ +android/.gradle/ +android/app/build/ + diff --git a/docker-compose.yml b/docker-compose.yml index cfaa1d7..19138aa 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,13 +2,18 @@ merenda-merenda: build: . volumes: - .:/code + - /dev/bus/usb:/dev/bus/usb privileged: true working_dir: /code net: host + ports: + - "8081:8081" environment: - - DISPLAY=$DISPLAY + - DISPLAY=$DISPLAY command: | bash -c " + lsusb npm install --loglevel verbose adb reverse tcp:8081 tcp:8081 + react-native run-android "