feat: fix vite url using env var

This commit is contained in:
2025-06-25 20:25:33 -04:00
parent c0eae42daf
commit 385da3d2b2
4 changed files with 13 additions and 5 deletions
+4
View File
@@ -4,6 +4,10 @@ WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
ARG VITE_API_URL
ENV VITE_API_URL=$VITE_API_URL
RUN npm run build
# Production stage