build: optimize the development Dockerfile
This commit is contained in:
		| @@ -1,8 +1,8 @@ | ||||
| FROM rust:1.80-bookworm | ||||
|  | ||||
| RUN rustup target add wasm32-unknown-unknown | ||||
| RUN cargo install dioxus-cli diesel_cli | ||||
| RUN apt-get update && apt-get install -y nodejs npm supervisor | ||||
| RUN rustup target add wasm32-unknown-unknown && \ | ||||
|     cargo install dioxus-cli diesel_cli && \ | ||||
|     apt-get update && apt-get install -y nodejs npm supervisor | ||||
|  | ||||
| COPY . /srv/app | ||||
| WORKDIR /srv/app | ||||
|   | ||||
		Reference in New Issue
	
	Block a user