chore: fix Dockerfile
Some checks are pending
Rust CI / Security Audit (push) Waiting to run
Rust CI / Check + Test + Lint (nightly) (push) Waiting to run
Rust CI / Check + Test + Lint (stable) (push) Waiting to run

This commit is contained in:
Jesús Pérez 2026-02-14 05:11:12 +00:00
parent 18d9d41c34
commit 239197771a
Signed by: jesus
GPG Key ID: 9F243E355E0BC939

View File

@ -1,6 +1,6 @@
# Multi-stage build for SecretumVault
# Stage 1: Builder
FROM rust:1.82 as builder
FROM rust:bookworm as builder
WORKDIR /build
@ -8,6 +8,11 @@ WORKDIR /build
RUN apt-get update && apt-get install -y \
libssl-dev \
pkg-config \
clang \
libclang-dev \
cmake \
build-essential \
protobuf-compiler \
&& rm -rf /var/lib/apt/lists/*
# Copy manifests
@ -16,11 +21,11 @@ COPY Cargo.toml Cargo.lock ./
# Copy source code
COPY src ./src
# Build with all features
# Build with full features
RUN cargo build --release --features "server cli surrealdb-storage etcd-storage postgresql-storage aws-lc pqc cedar"
# Stage 2: Runtime
FROM debian:bookworm-slim
FROM debian:bookworm
WORKDIR /app