mirror of
https://github.com/NetworkCats/rustyip.git
synced 2026-11-13 16:17:46 +00:00
fix: copy openapi.json and locales into Docker build context
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user