onero / docker-ionic

Docker Ionic Development Environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Ionic Development Environment

Official image on dockerhub can be found here adamino/ionic

Docker Cloud Build Status

This project serves a Ionic 4 ready development environment, based on openjdk 8 with Android SDK 8, Node 10 and the latest Ionic

So why run Ionic in docker you might ask?

When you start a new Ionic project, you might not initially feel the need for more than node and a couple of packages... However when you become ready to release the app, you're suddenly going to need a bit more in your "path"!

That's why I've created this image, which serves as a complete development environment for developing and releasing Ionic apps!

Requirements

In order to utilize this image, you only need to have the latest version of docker installed!

Includes

  • Node: 10.16.3
  • Ionic: latest
  • cordova: latest
  • cordova-res: latest
  • firebase-tools: latest

Tagging scheme

  • ${NODE_VERSION}-
    ${BUILD_VERSION}
  • e.g. 10.16.3-3

Usage

  1. Download the docker-compose file to the root of your Ionic project.
  2. Run the following command
docker compose-up

This way you will see the output of the container. The app will be served at localhost:8100

If you want to run the container without seeing the output simply run:

docker-compose up -d

If you want to attach a shell execute the the following command:

docker exec -it {NameOfYouContainer} /bin/sh

E.g.

docker exec -it myAwesomeApp_ionic_1 /bin/sh 

About

Docker Ionic Development Environment

License:MIT License


Languages

Language:Dockerfile 100.0%