Skip to content

Instantly share code, notes, and snippets.

@mizchi
Last active May 14, 2019 03:38
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 mizchi/dd66aeac1f9d3a494cf155c018894d34 to your computer and use it in GitHub Desktop.
Save mizchi/dd66aeac1f9d3a494cf155c018894d34 to your computer and use it in GitHub Desktop.
FROM node:alpine
RUN apk add --no-cache tini yarn
WORKDIR /app
ENTRYPOINT ["/sbin/tini", "--"]
COPY ./package.json ./yarn.lock ./
RUN yarn install
COPY ./ .
CMD [ "yarn", "start" ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment