mirror of
https://github.com/Xevion/Pac-Man.git
synced 2026-01-30 22:24:58 -06:00
build(docker): consolidate WASM build into multi-stage Dockerfile
- Move WASM compilation from GitHub Actions into Docker build stages - Add emsdkVersion to package.json config as single source of truth - Implement cargo-chef for dependency caching in both WASM and server builds - Update .dockerignore to include packed game assets while excluding unpacked - Simplify deploy workflow by removing local WASM build steps
This commit is contained in:
+9
-3
@@ -3,8 +3,9 @@
|
||||
/emsdk
|
||||
*.exe
|
||||
|
||||
/pacman/assets
|
||||
/assets
|
||||
# Exclude unpacked assets but keep packed game assets
|
||||
/pacman/assets/unpacked
|
||||
/pacman/assets/site
|
||||
|
||||
# Web/Node artifacts
|
||||
node_modules
|
||||
@@ -16,8 +17,13 @@ node_modules
|
||||
|
||||
# Development files
|
||||
/.git
|
||||
/.github
|
||||
/*.md
|
||||
/Justfile
|
||||
/bacon.toml
|
||||
/rust-toolchain.toml
|
||||
/rustfmt.toml
|
||||
/.pre-commit-config.yaml
|
||||
|
||||
# Test files (not needed in Docker builds)
|
||||
/pacman/tests
|
||||
/pacman-server/tests
|
||||
|
||||
Reference in New Issue
Block a user