Skip to content

Commit 0717408

Browse files
committed
refactor: upgrade node and remove openssl
1 parent 112a16b commit 0717408

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
FROM --platform=amd64 node:18-alpine AS base
1+
FROM --platform=amd64 node:20-alpine3.17 AS base
22

33
# Install dependencies only when needed
44
FROM base AS deps
55
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
6-
RUN apk add --no-cache libc6-compat libssl1.1
6+
RUN apk add --no-cache libc6-compat
7+
78
WORKDIR /app
89

910
# Install dependencies based on the preferred package manager

0 commit comments

Comments
 (0)