Merge pull request #54 from phips28/phips28-patch-1

revert Dockerfile changes
This commit is contained in:
Phil 2020-10-23 13:45:54 +02:00 committed by GitHub
commit f3338b7c30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -19,17 +19,17 @@ LABEL "com.github.actions.icon"="chevron-up"
LABEL "com.github.actions.color"="blue" LABEL "com.github.actions.color"="blue"
# Copy the package.json and package-lock.json # Copy the package.json and package-lock.json
COPY package.json ./ COPY package*.json ./
# Install dependencies # Install dependencies
RUN apt-get update RUN apt-get update
RUN apt-get -y install git RUN apt-get -y install git
RUN npm i --only=production RUN npm ci --only=production
# Copy the rest of your action's code # Copy the rest of your action's code
COPY . . COPY . .
# Run `node /index.js` # Run `node /index.js`
ENTRYPOINT ["node", "index.js"] ENTRYPOINT ["node", "/index.js"]