update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user