fix: docker again (surprise)
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
FROM node:20-alpine AS builder
|
FROM node:20-alpine AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN npm install -g pnpm
|
RUN npm install -g pnpm
|
||||||
|
RUN apk add --no-cache openssl
|
||||||
|
|
||||||
ARG NEXT_PUBLIC_API_URL
|
ARG NEXT_PUBLIC_API_URL
|
||||||
ENV NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL:-http://localhost:3001/api/v1}
|
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 ----
|
# ---- Production API image ----
|
||||||
FROM node:20-alpine AS api
|
FROM node:20-alpine AS api
|
||||||
RUN npm install -g pnpm
|
RUN npm install -g pnpm
|
||||||
|
RUN apk add --no-cache openssl
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY --from=builder /app/apps/api/dist ./dist
|
COPY --from=builder /app/apps/api/dist ./dist
|
||||||
|
|||||||
Reference in New Issue
Block a user