Store calculation history on server with bazi input and chart snapshots.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-13 09:57:16 +08:00
parent fcf071cfaa
commit 123a5cce6d
17 changed files with 419 additions and 54 deletions
+3 -1
View File
@@ -31,7 +31,9 @@ COPY --from=builder /app/public ./public
# 卦辞 Markdown(运行时读取)
COPY --from=builder /app/content ./content
RUN mkdir -p public && chown -R nextjs:nodejs /app
RUN mkdir -p /app/data/history \
&& chown -R nextjs:nodejs /app/data \
&& chown -R nextjs:nodejs /app
USER nextjs
EXPOSE 3130