From 314155a905b1d64bad2f085032a1829bd23b1684 Mon Sep 17 00:00:00 2001 From: Samuel Ma Date: Mon, 27 Jul 2026 20:18:17 -0500 Subject: [PATCH] Copy cert-dev.pem from builder to final image Added certificate file copy from builder stage. --- dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dockerfile b/dockerfile index 3775a9c..60e74e1 100644 --- a/dockerfile +++ b/dockerfile @@ -28,6 +28,7 @@ COPY --from=builder /app/package.json ./ COPY --from=builder /app/pnpm-lock.yaml ./ COPY --from=builder /app/pnpm-workspace.yaml ./ COPY --from=builder /app/prisma ./prisma +COPY --from=builder /app/cert-dev.pem ./ # Commented out because MTTP is a Prisma 6 app # COPY --from=builder /app/prisma.config.ts ./ RUN npm i -g pnpm @@ -43,4 +44,4 @@ COPY --from=builder /app/entrypoint.sh /entrypoint RUN chmod +x /entrypoint EXPOSE 3000 ENTRYPOINT ["/entrypoint"] -CMD ["node", "./server/index.mjs"] \ No newline at end of file +CMD ["node", "./server/index.mjs"]