11 lines
227 B
Docker
11 lines
227 B
Docker
FROM rust:1.80-bookworm
|
|
|
|
RUN rustup target add wasm32-unknown-unknown
|
|
RUN cargo install dioxus-cli
|
|
RUN apt-get update && apt-get install -y nodejs npm
|
|
|
|
COPY . /srv/app
|
|
WORKDIR /srv/app
|
|
|
|
CMD npm run watch & dx serve --port 8000
|