feature flags

This commit is contained in:
2026-01-07 22:05:53 +01:00
parent 1b63fa646c
commit 606b64cec7
530 changed files with 2092 additions and 2943 deletions

View File

@@ -3,6 +3,10 @@
FROM node:20-alpine
# Accept build arguments
ARG NODE_ENV=production
ARG NEXT_PUBLIC_API_BASE_URL
# Install build dependencies required for SWC and sharp
RUN apk add --no-cache \
python3 \
@@ -36,6 +40,11 @@ RUN npm install --include-workspace-root --no-audit --fund=false
# Copy source code
COPY . .
# Set environment variables for build
ENV NODE_ENV=${NODE_ENV}
ENV NEXT_PUBLIC_API_BASE_URL=${NEXT_PUBLIC_API_BASE_URL}
ENV NEXT_TELEMETRY_DISABLED=1
# Build the website
WORKDIR /app/apps/website
RUN npm run build