Skip to content

Instantly share code, notes, and snippets.

@rivernews
Created February 27, 2019 22:32
Show Gist options
  • Save rivernews/80e11d0d9ecdedc6721497e90e0b8e9c to your computer and use it in GitHub Desktop.
Save rivernews/80e11d0d9ecdedc6721497e90e0b8e9c to your computer and use it in GitHub Desktop.
Node.js
FROM node:8-alpine
EXPOSE 3000
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY . .
RUN npm i
CMD [ "node", "src/server.js" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment