fix admin Dockerfile: pass NEXT_PUBLIC_API_URL as build arg

This commit is contained in:
Lizandro Guarnizo
2026-06-03 23:46:57 -05:00
parent 25c04ced2f
commit 558647414d
2 changed files with 6 additions and 3 deletions
+2
View File
@@ -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