feat(engine): embed classic theme into binary like dark theme

Classic SVGs and manifest are now compiled in via include_bytes!(),
making the theme available on all platforms (desktop, Android) without
requiring filesystem assets. Removes the now-redundant Dockerfile COPY
of solitaire_engine/assets/themes/classic.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
funman300
2026-05-14 10:53:14 -07:00
parent 2ef25934ac
commit 3cffbc2c51
4 changed files with 188 additions and 14 deletions
+1 -1
View File
@@ -62,9 +62,9 @@ COPY --from=builder /build/target/release/solitaire_server ./server
# Static web assets are served via ServeDir at runtime from these paths:
# /app/solitaire_server/web → /web route
# /app/assets → /assets route
# Card themes (dark + classic) are embedded in the binary; no theme files needed here.
COPY solitaire_server/web ./solitaire_server/web
COPY assets ./assets
COPY solitaire_engine/assets/themes/classic ./assets/themes/classic
ENV SERVER_PORT=8080
EXPOSE 8080