Env Update
This commit is contained in:
1 parent
f2b9993427
commit
9282777ac9
9 files changed
+60
-21
No files matched your search
@@ -2,12 +2,6 @@
|
||||
|
||||
FROM node:22-alpine AS builder
|
||||
WORKDIR /app
|
||||
# NEXT_PUBLIC_* vars are inlined into the client bundle at build time, so
|
||||
# this must be supplied per-environment via:
|
||||
# docker build --build-arg NEXT_PUBLIC_API_URL=https://api.example.com .
|
||||
# Setting it only in the runtime ConfigMap has no effect on the built bundle.
|
||||
ARG NEXT_PUBLIC_API_URL
|
||||
ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
|
||||
Reference in new issue
Block a user