fix: docker again (surprise)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user