Last active
October 26, 2017 05:47
-
-
Save tribou/4f3b5940286b31889dc1 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
FROM node:0.12 | |
MAINTAINER tribou | |
# Prepare app directory | |
RUN mkdir -p /usr/src/app | |
ADD . /usr/src/app | |
# Install dependencies | |
WORKDIR /usr/src/app | |
RUN npm install | |
# Build the app | |
RUN npm build | |
# Expose the app port | |
EXPOSE 8000 | |
# Start the app | |
CMD npm start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment