diff --git a/Dockerfile b/Dockerfile index 95cbf51..730a8e9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM node:20-alpine AS builder WORKDIR /app RUN npm install -g pnpm +RUN apk add --no-cache openssl ARG NEXT_PUBLIC_API_URL ENV NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-http://localhost:3001/api/v1} @@ -24,6 +25,7 @@ RUN pnpm --filter @kooltab/dashboard run build # ---- Production API image ---- FROM node:20-alpine AS api RUN npm install -g pnpm +RUN apk add --no-cache openssl WORKDIR /app COPY --from=builder /app/apps/api/dist ./dist