Dockerfile 256 B

1234567891011121314
  1. FROM node:4.8
  2. LABEL maintainer="jon-friskics@pluralsight.com"
  3. EXPOSE 8888
  4. # Node-specific
  5. RUN mkdir /usr/src/app
  6. WORKDIR /usr/src/app
  7. COPY package.json /usr/src/app
  8. RUN npm install
  9. # cf package.json#scripts
  10. CMD ["npm", "start"]
  11. VOLUME /usr/src/app/src/