ci: updated Dockerfile

This commit is contained in:
Marvin Zhang
2024-12-11 14:31:03 +08:00
parent 102b327162
commit a39831304c
4 changed files with 6 additions and 4 deletions

View File

@@ -1,6 +1,10 @@
# Build stage
FROM node:20-alpine AS build
# Arguments and environment variables for building packages
ARG VITE_APP_API_BASE_URL=/api
ENV VITE_APP_API_BASE_URL ${VITE_APP_API_BASE_URL}
# Set the working directory in the container
WORKDIR /app