Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example production image for Nike-Inc/referee
FROM node:10
ENV TINI_VERSION v0.19.0
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN chmod +x /tini
ENTRYPOINT ["/tini", "--"]
RUN mkdir -p /app
RUN curl -L https://github.com/Nike-Inc/referee/archive/master.zip -o referee.zip && unzip -o referee.zip -d /app && rm -f referee.zip
WORKDIR /app/referee-master
RUN sed -i '/proxy/d' /app/referee-master/packages/client/package.json
RUN yarn install && yarn bootstrap && yarn build
EXPOSE 3001
CMD ["yarn", "server-start"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.