Add vite api base
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
FROM node:20-slim AS build
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
ARG VITE_API_BASE
|
||||
ENV VITE_API_BASE=$VITE_API_BASE
|
||||
RUN npm install --no-progress
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
Reference in New Issue
Block a user