Skip to content

mvkampen/img-ember

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Installation

MacOSX

Download boot2docker:
http:https://boot2docker.io/

Start boot2docker.app from Applications:
(inits shell properly for you)

Build docker image:
docker build -t < repo / name : tag > < location with Dockerfile >

docker build -t stylexplore/ember:latest [email protected]:mvkampen/dev-img.git

Run ssh agent and add ssh key to pull from private repo:

eval $(ssh-agent)

ssh-add ~/.ssh/<keyname>

ssh-add -l

Fork the project on github and clone it:

git clone [email protected]:<username>/stylexplore-frontend.git

Run image as docker container
Mount host volume with source code
Bind ports
Install dependencies (npm and bower)
Run server

docker run -v /:/ -p :

docker run -d -v /Users/WS11/projects/sx-f:/usr/src/frontend -p 4200:4200 -p 35729:35729 stylexplore/ember:latest /bin/bash -c 'ember install && ember serve'

Your container should be running the server
If not listed the process ended with error?
Interact with container through tty add flags -it on run command

docker ps

Find your boot2docker host ip

boot2docker ip

Server now available on :4200

Windows

Download boot2docker
http:https://boot2docker.io/

Download OpenSSH
http:https://sshwindows.sourceforge.net/

Linux (ubuntu)

https://docs.docker.com/installation/ubuntulinux/

About

Docker image build

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages