fix: docker again (surprise)

This commit is contained in:
2026-09-20 01:12:24 +02:00
parent 44f26d5419
commit a516dcdb5c
+2
View File
@@ -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