This commit is contained in:
Dongho Kim
2025-12-17 16:42:23 +09:00
parent 8edb92b25d
commit 4b606e28da
12 changed files with 991 additions and 195 deletions

View File

@@ -4,7 +4,8 @@ WORKDIR /app
COPY frontend ./frontend
COPY backend ./backend
# Install wasm-pack
RUN curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
# Install wasm-pack via cargo (fallback for network issues)
RUN cargo install wasm-pack
WORKDIR /app/frontend
# Build frontend
RUN wasm-pack build --target web --out-name wasm --out-dir ../backend/static