Skip to content

Instantly share code, notes, and snippets.

@TiagoGouvea
Created April 26, 2020 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TiagoGouvea/8605f04226d7b8a4dae41bb15e7844b2 to your computer and use it in GitHub Desktop.
Save TiagoGouvea/8605f04226d7b8a4dae41bb15e7844b2 to your computer and use it in GitHub Desktop.
Simplest docker file ever seen
FROM node:10-alpine
WORKDIR /home/node/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 8080
CMD [ "node", "index.js" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment