
This repository contains the Dockerfile which is ready-to-go hybrid development environment for building amazing mobile apps with Ionic framework on Docker.
This image is using the following tools:
Build image from a Dockerfile
$ docker build -t josnet/ionic_fwk:latest .
Download image from Docker Hub
$ docker pull josnet/ionic_fwk
$ docker run -it --rm --name ionic-demo \
-p 8100:8100 -p 35729:35729 josnet/ionic_fwk
$ cd <project_path>/
$ docker run -it --rm --name ionic-deploy \
-p 8100:8100 -p 35729:35729 \
-v $(pwd):/workspace/app:ro josnet/ionic_fwk
You can follow the Ionic tutorial (except for the ios part...) without having to install ionic nor cordova nor nodejs on your computer.
Start building high-quality mobile apps:
$ cd <workspace_path>/
$ docker run -it --name ionic-dev -h ionic-dev \
-p 8100:8100 -p 35729:35729 \
-v $(pwd):/projects:rw josnet/ionic_fwk /bin/bash
$ ionic start mySuperApp blank --v2 --ts
$ cd mySuperApp
$ ionic serve --all \
--port 8100 \
--livereload-port 35729 \
-l -c
Coming next
To see what our demo app looks like, open demo-ionic.
In case it didn't work out, replace the ip address with the following output from:
$ docker-machine ip default
Content type
Image
Digest
Size
1.9 GB
Last updated
over 9 years ago
docker pull josnet/ionic_fwk