update dockerfile
This commit is contained in:
+3
-1
@@ -10,10 +10,12 @@ RUN echo "Browser library download: ${BROWSER_LIBS_REFRESH}" \
|
|||||||
FROM rust:slim-trixie AS builder
|
FROM rust:slim-trixie AS builder
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY Cargo.toml Cargo.lock ./
|
COPY Cargo.toml Cargo.lock build.rs ./
|
||||||
|
COPY lang ./lang
|
||||||
COPY migrations ./migrations
|
COPY migrations ./migrations
|
||||||
COPY src ./src
|
COPY src ./src
|
||||||
COPY static ./static
|
COPY static ./static
|
||||||
|
|
||||||
COPY --from=browser-libs /app/static/libs/mermaid ./static/libs/mermaid
|
COPY --from=browser-libs /app/static/libs/mermaid ./static/libs/mermaid
|
||||||
COPY --from=browser-libs /app/static/libs/highlight ./static/libs/highlight
|
COPY --from=browser-libs /app/static/libs/highlight ./static/libs/highlight
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user