1 | FROM node:10-slim
|
2 |
|
3 | LABEL com.github.actions.name="Primer publish"
|
4 | LABEL com.github.actions.icon="package"
|
5 | LABEL com.github.actions.color="blue"
|
6 |
|
7 | LABEL version="0.1.0"
|
8 | LABEL repository="http://github.com/primer/actions"
|
9 | LABEL homepage="http://github.com/primer/actions/tree/master/deploy"
|
10 | LABEL maintainer="GitHub Design Systems <design-systems@github.com>"
|
11 |
|
12 | RUN apt-get update && \
|
13 | apt-get install -y --no-install-recommends git jq
|
14 |
|
15 | WORKDIR /primer-publish
|
16 | COPY . .
|
17 | RUN npm install --production
|
18 |
|
19 | ENTRYPOINT ["/primer-publish/entrypoint.sh"]
|