Last active
August 29, 2015 13:58
-
-
Save maxcnunes/9956342 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker build . | |
Uploading context 4.096 kB | |
Uploading context | |
Step 0 : FROM ubuntu | |
---> 9cd978db300e | |
Step 1 : MAINTAINER Max Claus Nunes | |
---> Using cache | |
---> 987fcecff08b | |
Step 2 : RUN apt-get install -y python-software-properties python | |
---> Running in b9ceb62a54d3 | |
2014/04/03 14:09:14 no such file or directory | |
2014/04/03 11:09:14 The command [/bin/sh -c apt-get install -y python-software-properties python] returned a non-zero code: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
MAINTAINER Max Claus Nunes | |
RUN apt-get install -y python-software-properties python | |
RUN add-apt-repository ppa:chris-lea/node.js | |
RUN echo "deb http://us.archive.ubuntu.com/ubuntu/ precise universe" >> /etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get install -y nodejs | |
#RUN apt-get install -y nodejs=0.6.12~dfsg1-1ubuntu1 | |
RUN mkdir /var/www | |
ADD app.js /var/www/app.js | |
CMD ["/usr/bin/node", "/var/www/app.js"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment