A Pen by Jørn A. Myrland on CodePen.
A Pen by Jørn A. Myrland on CodePen.
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
# Set the base image to stable version of node | |
FROM node:0.12.2 | |
# Install nodemon | |
RUN npm install -g nodemon | |
# Provides cached layer for node_modules | |
COPY package.json /tmp/package.json | |
RUN cd /tmp && npm install --production | |
RUN mkdir -p /app && cp -a /tmp/node_modules /app/ |
OlderNewer