<filename>Dockerfile<gh_stars>0
FROM node:8.4-alpine

LABEL maintainer "<NAME> <<EMAIL>>"

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY package.json yarn.lock .yarnclean /tmp/
RUN cd /tmp \
    && time yarn \
        --link-duplicates \
        --no-emoji \
        --pure-lockfile \
    && yarn cache clean
COPY . /usr/src/app
RUN mv -f /tmp/node_modules /usr/src/app

ENTRYPOINT [ "/usr/src/app/bin/rancher-for-ci" ]
