Skip to content

Commit a0190c5

Browse files
committed
fix: try slim image
1 parent 4337978 commit a0190c5

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:20-alpine AS base
1+
FROM node:20-slim AS base
22

33
# Install dependencies only when needed
44
FROM base AS deps
@@ -7,7 +7,7 @@ ARG NPM_TOKEN
77
ENV NPM_TOKEN=${NPM_TOKEN}
88

99
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
10-
RUN apk add --no-cache libc6-compat
10+
# RUN apk add --no-cache libc6-compat
1111
WORKDIR /app
1212

1313
# Install dependencies based on the preferred package manager

0 commit comments

Comments
 (0)