mirror of
https://github.com/stardrophere/InsightRadar.git
synced 2026-06-06 00:00:05 +08:00
修复docker配置,修复因为google字体导致的首次访问速度慢的问题
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ COPY --from=backend-builder /backend/main.py /app/main.py
|
|||||||
|
|
||||||
# 复制前端编译好的静态产物,放到后端能访问的目录
|
# 复制前端编译好的静态产物,放到后端能访问的目录
|
||||||
# 这里我们把静态文件放到 /app/static 目录
|
# 这里我们把静态文件放到 /app/static 目录
|
||||||
COPY --from=frontend-builder /frontend/dist /app/static
|
COPY --from=frontend-builder /frontend/dist /app/app/static
|
||||||
|
|
||||||
# 把venv加入PATH
|
# 把venv加入PATH
|
||||||
ENV PATH="/app/.venv/bin:$PATH"
|
ENV PATH="/app/.venv/bin:$PATH"
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
|||||||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');
|
@import url(./font.css);
|
||||||
|
|
||||||
/* =========================================
|
/* =========================================
|
||||||
1. 现代 SaaS 风格高级主题变量
|
1. 现代 SaaS 风格高级主题变量
|
||||||
|
|||||||
Reference in New Issue
Block a user