FROM node:10-slim RUN apt-get update && \ apt-get install --no-install-recommends -y \ jq LABEL "com.github.actions.name"="GraphQL query" LABEL "com.github.actions.description"="An action that acts a client for GitHub's GraphQL API" LABEL "com.github.actions.icon"="database" LABEL "com.github.actions.color"="purple" LABEL version="1.0.0" LABEL repository="https://github.com/helaili/github-graphql-action" LABEL homepage="https://github.com/helaili/github-graphql-action" LABEL maintainer="Alain Hélaïli " ADD package.json /package.json ADD package-lock.json /package-lock.json WORKDIR / RUN npm ci COPY . / ENTRYPOINT ["node", "/entrypoint.js"]