Skip to content

Commit 70ac5f1

Browse files
committed
Upgrade Node.js version in Dockerfile
Updates the Dockerfile to use Node.js 20 instead of 18, enhancing compatibility and performance.
1 parent 8abc694 commit 70ac5f1

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
@@ -1,4 +1,4 @@
1-
FROM node:18-bookworm-slim AS builder
1+
FROM node:20-bookworm-slim AS builder
22
# Create app directory
33
WORKDIR /app
44

@@ -16,7 +16,7 @@ COPY src ./src
1616

1717
RUN npm run build
1818

19-
FROM node:18-bookworm-slim
19+
FROM node:20-bookworm-slim
2020
ENV DEBIAN_FRONTEND=noninteractive
2121
RUN apt update && apt install -y libssl3 && rm -rf /var/lib/apt/lists/*
2222
COPY --from=builder /app/node_modules ./node_modules

0 commit comments

Comments
 (0)