Last active
February 1, 2018 17:57
-
-
Save nathanpeck/c6687cbcc23f3c617ba21c5b7004aff2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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