Skip to content

Instantly share code, notes, and snippets.

@ashutoshkarna03
Created May 7, 2020 17:09
Show Gist options
  • Save ashutoshkarna03/0a141af314e957699593c91ccc2c99ed to your computer and use it in GitHub Desktop.
Save ashutoshkarna03/0a141af314e957699593c91ccc2c99ed to your computer and use it in GitHub Desktop.
FROM node:10
# Create app directory
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
# Bundle app source
COPY . .
EXPOSE 8080
CMD [ "node", "app.js" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment