Skip to content

Instantly share code, notes, and snippets.

@codeaholicguy

codeaholicguy/Dockerfile

Last active Aug 30, 2018
Embed
What would you like to do?
FROM node:8
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
COPY package*.json ./
RUN npm install
# Copy app source code
COPY . .
# Expose port and start application
EXPOSE 3000
CMD [ "npm", "start" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.