Skip to content

React Native Docker is a docker image that helps you compile and run your react native project in any environment.

Notifications You must be signed in to change notification settings

jaaahh/react-native-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

React Native Docker

React Native Docker is a docker image that helps you to compile and run your react native project in any environment.

  • Helps you to build easily
  • Updated regularly
  • Published on Docker Hub

Docker Installation

Download annd install Docker in your machine. Docker Mac OS | Docker Windows

Usage

Installation successful? Great! Now lets download the image and run

Open your favorite Terminal and run these commands.

Step 1:

$ git clone [email protected]:imjaahh/react-native-docker.git

Step 2:

$ cd react-native-docker
$ docker build ./

Step 3 (optional): Accept all licenses, it might cause some build issue while the gradle dependencies are being downloaded

$  yes | $ANDROID_HOME/tools/bin/sdkmanager "build-tools;24.0.3"

Step 4:

$ cd [your react native project]

Step 5:

$ docker run --rm -ti -v `pwd`:/app imjaahh/react-native-docker bash

Step 6:

$ cd app

Step 7:

$ cd android && ./gradlew assembleRelease

APK file will be in /android/app/build/outputs/apk/release

About

React Native Docker is a docker image that helps you compile and run your react native project in any environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published