final fixes

This commit is contained in:
Adam Brown 2015-02-28 18:44:36 +00:00
parent 68cdbe4cc7
commit a7d7f551a7
2 changed files with 3 additions and 3 deletions

View File

@ -18,9 +18,9 @@ RUN apt-get install -y nodejs
# install ruby # install ruby
RUN apt-get install -y ruby1.9.1 ruby1.9.1-dev RUN apt-get install -y ruby1.9.1 ruby1.9.1-dev
# add a user # add a user
RUN useradd -ms /bin/bash docker # and make them a sudoer
RUN useradd -ms /bin/bash docker && echo "docker:docker" | chpasswd && adduser docker sudo
# switch to the docker user # switch to the docker user
ENV HOME /home/docker ENV HOME /home/docker

2
mean
View File

@ -16,4 +16,4 @@ if docker inspect -f {{.Name}} data-docker-home > /dev/null
fi fi
docker run -it --rm --volumes-from=data-docker-home -v ${PWD}:/working -w /working -p 9000:9000 -p 35729:25729 adamarthurryan/mean $@ docker run -it --rm --volumes-from=data-docker-home -v ${PWD}:/working -w /working -p 9000:9000 -p 35729:35729 adamarthurryan/mean $@