Created
March 14, 2014 15:32
-
-
Save dweinstein/9550105 to your computer and use it in GitHub Desktop.
Cached docker build
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
Uploading context 4.608 kB | |
Uploading context | |
Step 0 : FROM ubuntu | |
---> 9cd978db300e | |
Step 1 : MAINTAINER David Weinstein <[email protected]> | |
---> Using cache | |
---> 67aeca8f12ae | |
Step 2 : RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list | |
---> Using cache | |
---> be8f73b1204f | |
Step 3 : RUN apt-get update | |
---> Using cache | |
---> 70395f80789a | |
Step 4 : RUN apt-get -y install python-software-properties git build-essential | |
---> Using cache | |
---> 58821e45ea25 | |
Step 5 : RUN add-apt-repository -y ppa:chris-lea/node.js | |
---> Using cache | |
---> 79afb0c0539a | |
Step 6 : RUN apt-get update | |
---> Using cache | |
---> 18fc6aa866d8 | |
Step 7 : RUN apt-get -y install nodejs | |
---> Using cache | |
---> 1f1f41f47329 | |
Step 8 : ADD package.json /tmp/package.json | |
---> Using cache | |
---> 0331fd81b4c8 | |
Step 9 : RUN cd /tmp && npm install | |
---> Using cache | |
---> 95ee8b27b72b | |
Step 10 : RUN mkdir -p /opt/app && cp -a /tmp/node_modules /opt/app/ | |
---> Using cache | |
---> 40102f5ce4f1 | |
Step 11 : WORKDIR /opt/app | |
---> Using cache | |
---> 6a1ad0dca915 | |
Step 12 : ADD . /opt/app | |
---> 6b9bdaa0e7a2 | |
Step 13 : EXPOSE 3000 | |
---> Running in 722c8f0b88e2 | |
---> d97a3d372bda | |
Step 14 : CMD ["node", "server.js"] | |
---> Running in 3309a2dab1cc | |
---> a0b19d7625d3 | |
Successfully built a0b19d7625d3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment