We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c11e00 commit 0a255e3Copy full SHA for 0a255e3
1 file changed
backend/Dockerfile
@@ -37,7 +37,7 @@
37
38
# Use latest stable Rust for building
39
# Provides access to latest Rust features and optimizations
40
-FROM rust:1.82-bookworm AS builder
+FROM rust:1.83-bookworm AS builder
41
42
# Set working directory for all subsequent commands
43
WORKDIR /app
@@ -61,7 +61,7 @@ RUN apt-get update && apt-get install -y \
61
# Copy Cargo configuration files first to leverage Docker layer caching
62
# This ensures dependencies are only rebuilt when Cargo.toml changes
63
# Improves build performance significantly in CI/CD pipelines
64
-COPY Cargo.toml ./
+COPY Cargo.toml Cargo.lock* ./
65
66
# Ensure reproducible builds with Cargo.lock
67
# Generate Cargo.lock if it doesn't exist for dependency pinning
0 commit comments