https://github.com/note89/ionic-interactive-dockercontainer
This a Dockerfile that creates a dockercontainer that you can use interactively and is all you need when developing ionic apps.
https://github.com/note89/ionic-interactive-dockercontainer
Last synced: 7 months ago
JSON representation
This a Dockerfile that creates a dockercontainer that you can use interactively and is all you need when developing ionic apps.
- Host: GitHub
- URL: https://github.com/note89/ionic-interactive-dockercontainer
- Owner: note89
- License: gpl-2.0
- Created: 2015-11-13T10:14:59.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-13T10:58:52.000Z (about 10 years ago)
- Last Synced: 2025-02-16T02:43:48.071Z (12 months ago)
- Language: Shell
- Homepage:
- Size: 0 Bytes
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ionic-interactive-dockercontainer
This a Dockerfile that creates a dockercontainer that is all you need when developing ionic apps. just start the container detached with your file system mounted and execute bash and do all you development in the container.
## Getting started
1. download repo
2. docker build -t ionic-interactive .
3. create a folder where you want to have your ionic projects and cd into it
## Run without docker-compose
```
$ docker run -ti --rm --user=docker --net host --privileged -v /dev/bus/usb:/dev/bus/usb -v $(pwd):/App:rw ionic-interactive bash
```
## Run with docker-compose.
```
$ docker-compose up -d
$ docker exec -it ionic-interactive_front_1 bash (start new tabs and do this as many times as you like if you want to run multiple things, like grunt watch, ionic serve etc.)
```
## USER
```
username: docker
password: docker
```
### Issues
idealy we would want every packet in the conatiner to be under versioncontrol
but rightnow there is a issue at line 103. where we docker cant handle stringinterpolation
in bracket syntax. If solve this please issue a pull request.
[Docker Hub](https://hub.docker.com/r/note89/ionic-interactive-dockercontainer/)