Pass in api url

This commit is contained in:
john 2025-05-18 14:51:46 +02:00
parent 12e0d87388
commit 6f1f02f524

View file

@ -1,10 +1,9 @@
# Assuming your app runs `vite build`
ARG VITE_API_URL
ENV VITE_API_URL=$VITE_API_URL
# Stage 1: Build the Vite React app
FROM node:22-alpine AS builder
ARG VITE_API_URL
ENV VITE_API_URL=$VITE_API_URL
WORKDIR /app
# Install dependencies