Compare commits

..

No commits in common. "ef94848f7ca990a144b9215a1423af8e34f1b795" and "87fbf7e17744f60442ef741008fcfd255653b6e9" have entirely different histories.

2 changed files with 5 additions and 8 deletions

View File

@ -58,12 +58,9 @@ 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 docker/dist/ /usr/share/nginx/html
COPY dist/ /usr/share/nginx/html
# 复制到nginx目录下
COPY docker/dist/ /etc/nginx/html
COPY dist/ /etc/nginx/html
# 暴露 Nginx 的默认端口
EXPOSE 80