feat: add a Docker compose file for development
This commit is contained in:
10
docker/dev/app/Dockerfile
Normal file
10
docker/dev/app/Dockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
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
|
Reference in New Issue
Block a user