mirror of
https://github.com/7836246/cursor2api.git
synced 2026-05-07 14:17:49 +08:00
fix: Dockerfile 补充 COPY public 目录(日志查看器静态资源)
Made-with: Cursor
This commit is contained in:
@@ -33,6 +33,9 @@ RUN npm ci --omit=dev \
|
||||
# 从 builder 阶段拷贝编译后的产物
|
||||
COPY --from=builder --chown=cursor:nodejs /app/dist ./dist
|
||||
|
||||
# 拷贝前端静态资源(日志查看器 Web UI)
|
||||
COPY --chown=cursor:nodejs public ./public
|
||||
|
||||
# 创建日志目录并授权
|
||||
RUN mkdir -p /app/logs && chown cursor:nodejs /app/logs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user