Skip to content

Commit c21d620

Browse files
committed
Update Dockerfile: to fix package install issues
1 parent 0cd2526 commit c21d620

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@ LABEL "com.github.actions.description"="Update a pinned gist to contain your lat
88
LABEL "com.github.actions.icon"="book-open"
99
LABEL "com.github.actions.color"="green"
1010

11-
# Copy the package.json and package-lock.json
12-
# COPY yarn.lock ./
13-
# COPY package.json ./
11+
# Copy the package.json
12+
COPY package.json ./
1413

1514
# Install dependencies
16-
RUN yarn install --frozen-lockfile
15+
RUN npm install --production
1716

1817
# Copy the rest of your action's code
1918
COPY . .

0 commit comments

Comments
 (0)