rsnext/.github/actions/next-stats-action/Dockerfile
Steven 3ae27a87e3
Bump "engines" to node >= 12.0.0 (#25761)
* Bump "engines" to node >= 12.0.0

* Bump next-stats-action

* Rename azure groups
2021-06-03 17:21:16 -05:00

19 lines
523 B
Docker

FROM node:14-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/vercel/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"]