Compare commits
No commits in common. "ef94848f7ca990a144b9215a1423af8e34f1b795" and "87fbf7e17744f60442ef741008fcfd255653b6e9" have entirely different histories.
ef94848f7c
...
87fbf7e177
|
@ -58,12 +58,9 @@ const useMock = (mode: string) => {
|
||||||
include: 'mock',
|
include: 'mock',
|
||||||
infixName: false,
|
infixName: false,
|
||||||
enableDev: true,
|
enableDev: true,
|
||||||
// enableProd: true,
|
enableProd: true,
|
||||||
// build: true,
|
build: true,
|
||||||
// http2: true,
|
http2: true,
|
||||||
// enableProd: true,
|
|
||||||
// build: true,
|
|
||||||
// http2: true,
|
|
||||||
})
|
})
|
||||||
: null;
|
: null;
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,9 +19,9 @@ RUN echo "Asia/Shanghai" > /etc/timezone
|
||||||
WORKDIR /usr/share/nginx/html
|
WORKDIR /usr/share/nginx/html
|
||||||
|
|
||||||
# 将前端项目打包文件复制到 Nginx 的默认静态文件目录
|
# 将前端项目打包文件复制到 Nginx 的默认静态文件目录
|
||||||
COPY docker/dist/ /usr/share/nginx/html
|
COPY dist/ /usr/share/nginx/html
|
||||||
# 复制到nginx目录下
|
# 复制到nginx目录下
|
||||||
COPY docker/dist/ /etc/nginx/html
|
COPY dist/ /etc/nginx/html
|
||||||
|
|
||||||
# 暴露 Nginx 的默认端口
|
# 暴露 Nginx 的默认端口
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
Loading…
Reference in New Issue