Skip to content

Instantly share code, notes, and snippets.

@limone-eth
Created October 14, 2020 13:30
Show Gist options
  • Save limone-eth/2839e7c524208835bbfb859201373909 to your computer and use it in GitHub Desktop.
Save limone-eth/2839e7c524208835bbfb859201373909 to your computer and use it in GitHub Desktop.
Dockerfile for Medium Tutorial
FROM node:12
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
COPY package*.json ./
RUN npm install
# Bundle app source
COPY . .
EXPOSE 3000
CMD [ "node", "index.js" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment