[重构] 前端改造v1

This commit is contained in:
ryan
2026-03-11 12:47:08 +08:00
parent 052e3e98f8
commit 6eea676f8f
71 changed files with 3619 additions and 8791 deletions
+5 -4
View File
@@ -1,14 +1,15 @@
ARG VERSION=dev
FROM node:18 AS builder
FROM node:20 AS builder
ARG VERSION
WORKDIR /build
COPY ./web/package*.json ./
RUN npm install
COPY ./web/package.json ./
COPY ./web/pnpm-lock.yaml ./
RUN corepack enable && pnpm install --frozen-lockfile
COPY ./web ./
RUN REACT_APP_VERSION="$VERSION" npm run build
RUN NEXT_PUBLIC_APP_VERSION="$VERSION" pnpm build
FROM golang:1.22 AS builder2