Pass in api url
This commit is contained in:
parent
12e0d87388
commit
6f1f02f524
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue