feat : 调整适配部署阿里云效

This commit is contained in:
翟二远 2026-04-08 10:34:15 +08:00
parent 04fc6545dd
commit e32ef8e2e4
2 changed files with 0 additions and 2 deletions

View file

@ -4,7 +4,6 @@ WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY . .
ENV VITE_BASE_PATH=/skillhub-web/
RUN pnpm build
FROM jsessh-registry.cn-shanghai.cr.aliyuncs.com/base-images/nginx-skillhub:alpine

View file

@ -3,7 +3,6 @@ import react from '@vitejs/plugin-react'
import * as path from 'path'
export default defineConfig({
base: process.env.VITE_BASE_PATH || '/',
plugins: [react()],
resolve: {
alias: {