title: can I develop react-native app inside docker image
body: <p>My development machine is MacBook Pro, on which I'm trying to create a docker image based on Ubuntu 16.04 for developing React-Native apps. I'm aware I can install react native, android, cli etc directly on Mac but I'm trying to avoid, as docker is better for porting code easily using git CI/CD pipeline as well as maintaining packages etc versions.</p>
  
  <p>I couldn't find any decent workable solution, few URLs that I referred are given below for your reference.</p>
  
  <ol>
  <li><a href="https://medium.com/@hmajid2301/running-expo-react-native-in-docker-ff9c4f2a4388" rel="noreferrer">https://medium.com/@hmajid2301/running-expo-react-native-in-docker-ff9c4f2a4388</a></li>
  <li><a href="https://github.com/react-native-community/docker-android/blob/master/Dockerfile" rel="noreferrer">https://github.com/react-native-community/docker-android/blob/master/Dockerfile</a></li>
  <li><a href="https://github.com/symbiote/docker-project/blob/master/node/Dockerfile" rel="noreferrer">https://github.com/symbiote/docker-project/blob/master/node/Dockerfile</a></li>
  </ol>
  
  <p>My Dockerfile is as following at the moment, its building the image but Expo app doesn't seem to open my react native app runing.</p>
  
  <pre><code>FROM node:8.11
  
  RUN npm install -g grunt-cli \
      &amp;&amp; npm install -g brunch \
      &amp;&amp; npm install -g bower \
      &amp;&amp; npm install -g yarn \
      &amp;&amp; npm install -g create-react-native-app \
      &amp;&amp; npm install -g react-native-cli \ 
      &amp;&amp; npm install -g expo-cli 
  EXPORT 3000 19000 19001
  
  CMD ["/bin/bash"]
  </code></pre>
  
  <p>Has anyone successfully setup Docker image for development of react native mobile apps? If yes, please share your knowledge.</p>
  
  <p>Thanks.</p>