Skip to content

Commit c5daf64

Browse files
committed
fix: installing openssl before running pnpm install
1 parent baf1e78 commit c5daf64

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
FROM node:22-slim AS builder
22
WORKDIR /app
33

4+
RUN apt-get update -y && apt-get install -y openssl
5+
46
COPY package.json pnpm-lock.yaml* ./
57
RUN corepack enable && pnpm install --frozen-lockfile
68

@@ -17,11 +19,6 @@ ENV PORT=3000
1719
ENV HOSTNAME=0.0.0.0
1820
EXPOSE 3000
1921

20-
RUN apt-get update -y && apt-get install -y --no-install-recommends openssl ca-certificates \
21-
&& rm -rf /var/lib/apt/lists/*
22-
23-
RUN npm install -g prisma@6.15.0
24-
2522
COPY --from=builder /app/.next/standalone ./
2623
COPY --from=builder /app/.next/static ./.next/static
2724
# TODO: uncomment when we add public directory

0 commit comments

Comments
 (0)