Docker image to work with Emberjs
364
Docker image to work with Emberjs.
You have to install Docker following the installation steps (choose your OS).
There are two options to build the image:
You can build the app from this directory running:
docker build -t agomezmoron/docker-ember-cli .
You can pull the image from Docker:
docker pull agomezmoron/docker-ember-cli
Run the image with the following command:
docker run --privileged -v /YOUR/SOURCES/FOLDER:/src -p 90:4200 -e EMBER_SERVER="ember" -e EMBER_PROFILE="development" -t -i agomezmoron/docker-ember-cli
or
docker run --privileged -v /YOUR/SOURCES/FOLDER:/src -p 90:80 -e EMBER_SERVER="apache2" -e EMBER_PROFILE="development" -t -i agomezmoron/docker-ember-cli
And you will have your docker running on the 90 port.
Once Docker is running our image, there is a way to stop it:
If you want to clean all the untagged images you have in your Docker you can perform:
docker rmi -f $(docker images -f "dangling=true" -q) &> /dev/null
and it will detelete all the past images of the builds, so the PC does not end up with several duplicated images. It can be removed without affecting the build.
Content type
Image
Digest
Size
258.6 MB
Last updated
about 10 years ago
docker pull agomezmoron/docker-ember-cli