Skip to content

Instantly share code, notes, and snippets.

@nathanpeck
Created June 20, 2018 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathanpeck/a8482d23030f737ce90e86b629724091 to your computer and use it in GitHub Desktop.
Save nathanpeck/a8482d23030f737ce90e86b629724091 to your computer and use it in GitHub Desktop.
$ time docker-compose build client
Building client
Step 1/9 : FROM node:9 AS build
---> 814364d36f69
Step 2/9 : WORKDIR /srv
---> Using cache
---> 031927a1a5ab
Step 3/9 : ADD package.json .
---> Using cache
---> 9cd95ef4d4ce
Step 4/9 : RUN npm install
---> Using cache
---> 578f2df9a49a
Step 5/9 : FROM node:9-slim
---> 671cff4d77bb
Step 6/9 : COPY --from=build /srv .
---> Using cache
---> 5ec814c8004a
Step 7/9 : ADD . .
---> 03c82c7cdc42
Step 8/9 : EXPOSE 3000
---> Running in 435d2c5749f7
Removing intermediate container 435d2c5749f7
---> ac4a79de37c1
Step 9/9 : CMD ["node", "index.js"]
---> Running in e4eb0cfda0ae
Removing intermediate container e4eb0cfda0ae
---> 5507592e1cfd
Successfully built 5507592e1cfd
Successfully tagged socket-chat_client:latest
real 0m1.589s
user 0m0.382s
sys 0m0.131s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment