Skip to content

Commit 197eac0

Browse files
committed
fix: Update CI workflow to include Dockerfile and YAML files; modify Dockerfile to install curl and set CARGO_INCREMENTAL; clean up Cargo.toml and Cargo.lock dependencies
1 parent 5c92597 commit 197eac0

4 files changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/build-container.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ on:
88
- "**/*.ts"
99
- "**/*.rs"
1010
- "**/*.tsx"
11-
11+
- "Dockerfile"
12+
- "**/*.yml"
1213
jobs:
1314
build-and-deploy:
1415
strategy:

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ FROM rust:1.88-alpine AS builder
2626
WORKDIR /app
2727

2828
# Install build dependencies
29-
RUN apk add --no-cache musl-dev
29+
RUN apk add --no-cache musl-dev curl
30+
ENV CARGO_INCREMENTAL=1
3031

3132
# Copy dependency files first for better caching
3233
COPY backend/Cargo.toml backend/Cargo.lock ./

backend/Cargo.lock

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ qoi = "0.4"
2727
# Utilities
2828
uuid = { version = "1.17", features = ["v4"] }
2929
chrono = { version = "0.4", features = ["serde"] }
30-
mime = "0.3"
3130
base64 = "0.22"
32-
sha2 = "0.10"
3331

3432
# Configuration
3533
dotenv = "0.15"
@@ -45,7 +43,6 @@ tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
4543
# Security
4644
constant_time_eq = "0.4"
4745
jsonwebtoken = "9"
48-
rand = "0.9"
4946

5047
# Rate limiting
5148
governor = "0.10"

0 commit comments

Comments
 (0)