rsnext/.github/actions/next-stats-action/Dockerfile
JJ Kasper da5a05dc87
Migrate PR stats action into Next.js repo (#13177)
* Migrate PR stats into Next.js repo

* Update running prettier in local mode
2020-05-21 14:07:27 +02:00

19 lines
521 B
Docker

FROM node:10-buster
LABEL com.github.actions.name="Next.js PR Stats"
LABEL com.github.actions.description="Compares stats of a PR with the main branch"
LABEL repository="https://github.com/zeit/next-stats-action"
COPY . /next-stats
# Install node_modules
RUN cd /next-stats && yarn install --production
RUN git config --global user.email 'stats@localhost'
RUN git config --global user.name 'next stats'
RUN apt update
RUN apt install apache2-utils -y
COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]