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