Compare commits

..

2 Commits

Author SHA1 Message Date
bunny ef94848f7c Merge branch 'dev' of http://129.211.31.58:3000/Large-Visual-Screen/vehicle-monitor into dev
# Conflicts:
#	build/plugins.ts
2025-05-24 15:47:01 +08:00
bunny f60447a774 📦 打包设置 2025-05-24 15:44:38 +08:00
2 changed files with 8 additions and 5 deletions

View File

@ -58,9 +58,12 @@ const useMock = (mode: string) => {
include: 'mock',
infixName: false,
enableDev: true,
enableProd: true,
build: true,
http2: true,
// enableProd: true,
// build: true,
// http2: true,
// enableProd: true,
// build: true,
// http2: true,
})
: null;
};

View File

@ -19,9 +19,9 @@ RUN echo "Asia/Shanghai" > /etc/timezone
WORKDIR /usr/share/nginx/html
# 将前端项目打包文件复制到 Nginx 的默认静态文件目录
COPY dist/ /usr/share/nginx/html
COPY docker/dist/ /usr/share/nginx/html
# 复制到nginx目录下
COPY dist/ /etc/nginx/html
COPY docker/dist/ /etc/nginx/html
# 暴露 Nginx 的默认端口
EXPOSE 80