baking env in build

This commit is contained in:
2025-11-07 21:32:31 +05:30
parent ce7b5dab6b
commit bb3f733ffc

View File

@@ -14,7 +14,8 @@ RUN npm ci
COPY . .
# Build the app
RUN npm run build
ARG VITE_API_BASE_URL
RUN VITE_API_BASE_URL=$VITE_API_BASE_URL npm run build
# Stage 2: Static file server (BusyBox)
FROM busybox:latest