feat: add a Docker compose file for development

This commit is contained in:
2024-08-15 19:38:40 +02:00
parent 295a3e7e64
commit a59d16df7c
4 changed files with 52 additions and 0 deletions

10
docker/dev/app/Dockerfile Normal file
View 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