Created
November 30, 2015 04:49
-
-
Save pencilcheck/9ed3223acb079ef6ac79 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 pencilcheck/base:v1 | |
MAINTAINER Penn Su | |
RUN npm install -g gulp nodemon coffee-script | |
#To cache node modules across | |
RUN mkdir -p /install | |
ADD package.json /install/package.json | |
RUN npm config set registry https://registry.npmjs.org/ | |
RUN cd /install && npm install --ignore-scripts --unsafe-perm | |
ENV NODE_PATH "/install/node_modules" | |
ADD . /src | |
WORKDIR /src | |
EXPOSE 3000 3001 3002 | |
CMD ["gulp", "serve"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment