build: optimize the development Dockerfile

This commit is contained in:
Matouš Volf 2024-08-17 11:40:39 +02:00
parent 0b74ca80bf
commit 75692622a7

View File

@ -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