From 5498fe68a07394835929cbb012c8b35626b60023 Mon Sep 17 00:00:00 2001 From: NetworkCats Date: Sat, 7 Mar 2026 21:15:50 +0800 Subject: [PATCH] fix: copy openapi.json and locales into Docker build context --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3eb4aca..a3bb6f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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