Skip to content

Commit 4c48c54

Browse files
committed
fix: openssl issues
1 parent 9e31a43 commit 4c48c54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

collection/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ENV NEXT_TELEMETRY_DISABLED=1
77
WORKDIR /build
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 openssl
1111
COPY package.json package-lock.json* ./
1212
RUN npm ci
1313
COPY project.json project.json
@@ -26,7 +26,7 @@ RUN npx nx run collection:build
2626

2727
# Production image, copy all the files and run next
2828
FROM docker.io/node:lts-alpine AS runner
29-
RUN apk add --no-cache dumb-init
29+
RUN apk add --no-cache dumb-init openssl
3030

3131
ENV NODE_ENV=production
3232
ENV PORT=3000

0 commit comments

Comments
 (0)