Created
September 20, 2018 17:34
-
-
Save mponizil/fdac1ac59c681478a38e611f97179631 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:8 AS base | |
WORKDIR /usr/src | |
COPY . . | |
RUN apk add --no-cache git | |
RUN yarn | |
RUN yarn build | |
FROM mhart/alpine-node:base-8 | |
WORKDIR /usr/src | |
COPY --from=base /usr/src/ ./ | |
CMD ["node", "build/server.js"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment