Skip to content

Instantly share code, notes, and snippets.

@nathanpeck
Last active February 1, 2018 17:57
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 nathanpeck/c6687cbcc23f3c617ba21c5b7004aff2 to your computer and use it in GitHub Desktop.
Save nathanpeck/c6687cbcc23f3c617ba21c5b7004aff2 to your computer and use it in GitHub Desktop.
FROM mhart/alpine-node:9 AS build
WORKDIR /srv
ADD package.json .
RUN npm install
ADD . .
FROM mhart/alpine-node:base-9
COPY --from=build /srv .
EXPOSE 3000
CMD ["node", "index.js"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment