feat: add port forwarding and optimize connection status checks
This commit is contained in:
+2
-2
@@ -5,10 +5,10 @@ FROM node:20-alpine AS frontend
|
||||
COPY docker/.npmrc /root/.npmrc
|
||||
WORKDIR /app
|
||||
|
||||
COPY frontend-v2/package.json frontend-v2/package-lock.json ./
|
||||
COPY frontend/package.json frontend/package-lock.json ./
|
||||
RUN npm ci --prefer-offline --no-audit
|
||||
|
||||
COPY frontend-v2/ ./
|
||||
COPY frontend/ ./
|
||||
RUN npm run build
|
||||
|
||||
# ========== 阶段二:后端构建(国内 Maven 源) ==========
|
||||
|
||||
Reference in New Issue
Block a user