From a350e471f853090c226e18e39255046ebb608d19 Mon Sep 17 00:00:00 2001 From: stephanrotolante Date: Thu, 22 Oct 2020 19:40:19 -0400 Subject: [PATCH] fix: use slim 14.14 image --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 01871d4..dfa00c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ # # You can specify a version: # FROM node:10-slim -FROM node:slim +FROM node:14.14-slim # Labels for GitHub to read your action LABEL "com.github.actions.name"="Automated version bump for npm packages." @@ -19,17 +19,17 @@ LABEL "com.github.actions.icon"="chevron-up" LABEL "com.github.actions.color"="blue" # Copy the package.json and package-lock.json -COPY package*.json ./ +COPY package.json ./ # Install dependencies RUN apt-get update RUN apt-get -y install git -RUN npm ci --only=production +RUN npm i --only=production # Copy the rest of your action's code COPY . . # Run `node /index.js` -ENTRYPOINT ["node", "/index.js"] +ENTRYPOINT ["node", "index.js"]