Skip to content

Commit 8d34426

Browse files
authored
Merge pull request #1123 from PeterDaveHello/patch-1
Remove redundant apk update calls in Dockerfile
2 parents fc26df9 + 7efab3a commit 8d34426

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ COPY package*.json ./
99
COPY patches ./
1010

1111
# Upgrade system packages
12-
RUN apk update && apk upgrade --no-cache
12+
RUN apk upgrade --no-cache
1313

1414
# Upgrade npm to version 10.9.2
1515
RUN npm install -g [email protected]
@@ -29,7 +29,7 @@ RUN npm run build \
2929
FROM node:20-alpine
3030

3131
# Upgrade system packages
32-
RUN apk update && apk upgrade --no-cache
32+
RUN apk upgrade --no-cache
3333

3434
# Upgrade npm to version 10.9.2
3535
RUN npm install -g [email protected]

0 commit comments

Comments
 (0)