build: optimize the development Dockerfile
This commit is contained in:
parent
0b74ca80bf
commit
75692622a7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user