perf: 优化管理端生产加载体验
- 图标与重型组件按需加载,优化菜单预取和页面请求链路 - 开启 gzip 与静态缓存并修复子路由 KeepAlive 冲突
This commit is contained in:
@@ -22,7 +22,7 @@ RUN rm -f /etc/nginx/conf.d/default.conf
|
||||
COPY --from=builder /app/app/dist/ /usr/share/nginx/html/flow/
|
||||
COPY scripts/deploy/nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
RUN chown -R nginx:nginx /usr/share/nginx/html
|
||||
RUN nginx -t && chown -R nginx:nginx /usr/share/nginx/html
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
|
||||
Reference in New Issue
Block a user