This repository has been archived by the owner on Jul 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM node:lts-alpine | ||
|
||
# Labels for GitHub to read your action | ||
LABEL "com.github.actions.name"="waka-box" | ||
LABEL "com.github.actions.description"="Update a pinned gist to contain WakaTime stats" | ||
# Here are all of the available icons: https://feathericons.com/ | ||
LABEL "com.github.actions.icon"="clipboard" | ||
# And all of the available colors: https://developer.github.com/actions/creating-github-actions/creating-a-docker-container/#label | ||
LABEL "com.github.actions.color"="blue" | ||
|
||
# Copy the package.json and package-lock.json | ||
COPY package*.json ./ | ||
|
||
# Install dependencies | ||
RUN npm ci | ||
|
||
# Copy the rest of your action's code | ||
COPY . . | ||
|
||
# Run `node index.js` | ||
ENTRYPOINT ["node", "index.js"] |