Skip to content

Commit cc930dc

Browse files
committed
ci: fix docekr
1 parent e6a4755 commit cc930dc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/deploy-api.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
uses: docker/build-push-action@v5
6262
with:
6363
context: .
64-
file: ./src/rust/Dockerfile
64+
file: src/rust/Dockerfile
6565
push: true
6666
tags: ${{ steps.meta.outputs.tags }}
6767
labels: ${{ steps.meta.outputs.labels }}

src/rust/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage
2-
FROM rust:1.75-slim AS builder
2+
FROM rust:1.86-slim AS builder
33

44
# Install dependencies
55
RUN apt-get update && apt-get install -y \
@@ -12,13 +12,13 @@ WORKDIR /app
1212
RUN echo "=== Build context contents ===" && find . -type f -name "*.toml" -o -name "*.rs" | head -20
1313

1414
# Copy workspace files from src/rust directory
15-
COPY Cargo.toml ./
16-
COPY . .
15+
COPY src/rust/Cargo.toml src/rust/Cargo.lock ./
16+
COPY src/rust ./
1717

1818
# COPY . .
1919
RUN ls -la
2020

21-
WORKDIR /app/src/rust
21+
2222

2323
# Build the fcb_api binary
2424
# RUN cargo build --release -p fcb_api

0 commit comments

Comments
 (0)