Compare commits
2 Commits
87fbf7e177
...
ef94848f7c
Author | SHA1 | Date |
---|---|---|
|
ef94848f7c | |
|
f60447a774 |
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue