Skip to content

Commit 46eb206

Browse files
committed
ci: install openssl certificates production warning with prisma
1 parent e29d8ac commit 46eb206

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ RUN npm run build
2828
# --- Stage 2: Production dependencies only ------------------------------------
2929
FROM node:20-bookworm-slim AS prod-deps
3030
ENV NODE_ENV=production
31+
32+
RUN apt-get update && apt-get install -y --no-install-recommends \
33+
openssl ca-certificates \
34+
&& rm -rf /var/lib/apt/lists/*
35+
3136
WORKDIR /app
3237

3338
COPY package.json package-lock.json ./
@@ -45,6 +50,11 @@ ENV NODE_ENV=production \
4550
HOST=0.0.0.0 \
4651
PORT=4321
4752

53+
# Install OpenSSL for Prisma
54+
RUN apt-get update && apt-get install -y --no-install-recommends \
55+
openssl ca-certificates \
56+
&& rm -rf /var/lib/apt/lists/*
57+
4858
WORKDIR /app
4959

5060
# Copy built app & runtime dependencies

0 commit comments

Comments
 (0)