fix: copy openapi.json and locales into Docker build context

This commit is contained in:
NetworkCats
2026-03-07 21:15:50 +08:00
parent ffb19fa0d0
commit 5498fe68a0
+2 -1
View File
@@ -4,10 +4,11 @@ FROM rust:1.93.1-alpine3.23 AS builder
RUN apk add --no-cache musl-dev
WORKDIR /build
COPY Cargo.toml Cargo.lock build.rs ./
COPY Cargo.toml Cargo.lock build.rs openapi.json ./
COPY src ./src
COPY templates ./templates
COPY static ./static
COPY locales ./locales
RUN cargo build --release