From 4efbe1d9d9b6b77dcf6ea2b1e2646a13fec96681 Mon Sep 17 00:00:00 2001 From: Matan Kushner Date: Sat, 6 Apr 2019 18:20:12 -0400 Subject: [PATCH] Add the waka-box Dockerfile --- Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d9b74ab --- /dev/null +++ b/Dockerfile @@ -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"]