Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/onero/docker-ionic

Docker Ionic Development Environment
https://github.com/onero/docker-ionic

docker ionic

Last synced: 27 days ago
JSON representation

Docker Ionic Development Environment

Awesome Lists containing this project

README

        

# Docker Ionic Development Environment

## Official image on dockerhub can be found here [adamino/ionic](https://hub.docker.com/r/adamino/ionic)
![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/adamino/ionic)
[![](https://images.microbadger.com/badges/version/adamino/ionic.svg)](https://microbadger.com/images/adamino/ionic)
[![](https://images.microbadger.com/badges/image/adamino/ionic.svg)](https://microbadger.com/images/adamino/ionic "Get your own image badge on microbadger.com")

## 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 ](http://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
```