update
This commit is contained in:
@@ -8,6 +8,7 @@ RUN curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
||||
WORKDIR /app/frontend
|
||||
# Build frontend
|
||||
RUN wasm-pack build --target web --out-name wasm --out-dir ../backend/static
|
||||
RUN cp index.html ../backend/static/index.html
|
||||
|
||||
# Build Backend
|
||||
FROM rust:latest as backend-builder
|
||||
|
||||
Reference in New Issue
Block a user