2020-10-26 19:24:07 +00:00
|
|
|
FROM node:12-slim
|
2019-07-10 14:01:40 +00:00
|
|
|
|
|
|
|
LABEL "com.github.actions.name"="Zenhub Automations"
|
|
|
|
LABEL "com.github.actions.description"="Automate zenhub with ease"
|
|
|
|
# Here are all of the available icons: https://feathericons.com/
|
2019-07-11 17:14:43 +00:00
|
|
|
LABEL "com.github.actions.icon"="power"
|
2019-07-10 14:01:40 +00:00
|
|
|
# And all of the available colors: https://developer.github.com/actions/creating-github-actions/creating-a-docker-container/#label
|
|
|
|
LABEL "com.github.actions.color"="gray-dark"
|
|
|
|
|
|
|
|
# Copy the package.json and package-lock.json
|
|
|
|
COPY package*.json ./
|
|
|
|
|
|
|
|
# Install dependencies
|
2020-10-26 19:26:07 +00:00
|
|
|
RUN npm ci
|
2019-07-10 14:01:40 +00:00
|
|
|
|
|
|
|
# Copy the rest of your action's code
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
# Run `node /index.js`
|
|
|
|
ENTRYPOINT ["node", "/index.js"]
|