重构
This commit is contained in:
@@ -24,8 +24,7 @@ COPY . .
|
||||
RUN find packages/shared/public -mindepth 1 -maxdepth 1 -type d \
|
||||
! -name flags ! -name players -exec rm -rf {} + 2>/dev/null || true
|
||||
RUN pnpm --filter @thebet365/shared build
|
||||
# Docker 生产构建仅 vite build,避免 CI/Docker 环境与本地 vue-tsc 差异
|
||||
RUN pnpm --filter @thebet365/player exec vite build
|
||||
RUN pnpm --filter @thebet365/player build
|
||||
|
||||
FROM nginx:1.27-alpine
|
||||
COPY docker/nginx/player.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
Reference in New Issue
Block a user