-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDockerfile
More file actions
18 lines (14 loc) · 624 Bytes
/
Copy pathDockerfile
File metadata and controls
18 lines (14 loc) · 624 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
FROM node:10
LABEL "com.github.actions.name"="close-label"
LABEL "com.github.actions.description"="A Probot app that applies a specific label to an issue closed through a pull request considering its current labels."
LABEL "com.github.actions.icon"="git-pull-request"
LABEL "com.github.actions.color"="red"
LABEL "repository"="https://github.com/Logerfo/close-label"
LABEL "homepage"="https://github.com/Logerfo"
LABEL "maintainer"="bruno@logerfo.com.br"
ENV PATH=$PATH:/app/node_modules/.bin
WORKDIR /app
COPY . .
RUN npm install --production && npm run build
ENTRYPOINT ["probot", "receive"]
CMD ["/app/lib/index.js"]