mirror of
https://github.com/iflytek/skillhub.git
synced 2026-10-02 02:13:52 +00:00
feat : 调整适配部署阿里云效
This commit is contained in:
parent
04fc6545dd
commit
e32ef8e2e4
2 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue