revert Dockerfile changes
This commit is contained in:
parent
bfae26a1b2
commit
57a6265c6b
|
@ -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 i --only=production
|
||||
RUN npm ci --only=production
|
||||
|
||||
|
||||
# Copy the rest of your action's code
|
||||
COPY . .
|
||||
|
||||
# Run `node /index.js`
|
||||
ENTRYPOINT ["node", "index.js"]
|
||||
ENTRYPOINT ["node", "/index.js"]
|
||||
|
|
Loading…
Reference in New Issue