fix admin Dockerfile: pass NEXT_PUBLIC_API_URL as build arg
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
FROM node:22-alpine AS builder
|
||||
ARG NEXT_PUBLIC_API_URL
|
||||
ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
|
||||
Reference in New Issue
Block a user