Created
June 23, 2016 18:09
-
-
Save jradesenv/d3b5c09f2fcf3a41f392d665e4ca0fb9 to your computer and use it in GitHub Desktop.
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
# Use Node v5 as the base image. | |
FROM node:5 | |
#this doesn't list any files from app folder | |
RUN ls | |
RUN rm -rf /node_modules | |
# Install dependencies (this gives me error 'coz it can't find package.json, wich is inside my app folder) | |
RUN npm install -g bower && npm install | |
RUN bower install --allow-root | |
# Expose our server port. | |
EXPOSE 3000 | |
# Run our app. | |
CMD ["npm", "start"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment