Skip to content

Instantly share code, notes, and snippets.

@danielkhoo
Created August 30, 2018 10:02
Show Gist options
  • Save danielkhoo/a45137c882a119c0a69dcbd7cbdd1882 to your computer and use it in GitHub Desktop.
Save danielkhoo/a45137c882a119c0a69dcbd7cbdd1882 to your computer and use it in GitHub Desktop.
Dockerfile for Node
FROM node:8-alpine
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . .
RUN npm install
EXPOSE 3000
CMD [ "node", "server.js" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment