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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user