Skip to content

Instantly share code, notes, and snippets.

@k0d3d
Created March 21, 2019 18:39
Show Gist options
  • Save k0d3d/cfe956583ad1b7023aa82005d155b61d to your computer and use it in GitHub Desktop.
Save k0d3d/cfe956583ad1b7023aa82005d155b61d to your computer and use it in GitHub Desktop.
Change the exposed port as you see fit
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