diff --git a/Dockerfile b/Dockerfile index 18dc716..1ff8fd8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,10 +10,12 @@ RUN echo "Browser library download: ${BROWSER_LIBS_REFRESH}" \ FROM rust:slim-trixie AS builder WORKDIR /app -COPY Cargo.toml Cargo.lock ./ +COPY Cargo.toml Cargo.lock build.rs ./ +COPY lang ./lang COPY migrations ./migrations COPY src ./src COPY static ./static + COPY --from=browser-libs /app/static/libs/mermaid ./static/libs/mermaid COPY --from=browser-libs /app/static/libs/highlight ./static/libs/highlight