File tree Expand file tree Collapse file tree 4 files changed +35
-24
lines changed
Expand file tree Collapse file tree 4 files changed +35
-24
lines changed Original file line number Diff line number Diff line change 1+ target
2+ .git
3+ node_modules
4+ docs
5+ docspring
6+ .nx
7+ .circleci
8+ .cursor
9+ .vscode
10+ .renamify
11+ build
12+ * .DS_Store
13+ integration_tests
14+ docs /**
15+ docspring /**
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ jobs:
211211 echo "Building docspringcom/cigen:${VERSION} and :latest"
212212 docker buildx build \
213213 --platform linux/amd64,linux/arm64 \
214- -f docker/cigen. Dockerfile \
214+ -f Dockerfile \
215215 --build-arg CIGEN_VERSION="${VERSION}" \
216216 -t docspringcom/cigen:"${VERSION}" \
217217 -t docspringcom/cigen:latest \
Original file line number Diff line number Diff line change 1+ # ## Builder stage: compile cigen from source
2+ FROM rust:1.88 AS builder
3+ WORKDIR /app
4+
5+ # Copy source and build
6+ COPY . .
7+ RUN cargo build --release --locked --bin cigen
8+
9+ # ## Runtime stage
10+ FROM debian:bookworm-slim
11+
12+ RUN apt-get update && apt-get install -y --no-install-recommends --no-upgrade \
13+ ca-certificates curl jq bash git \
14+ && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
15+
16+ # Copy compiled binary from builder
17+ COPY --from=builder /app/target/release/cigen /usr/local/bin/cigen
18+
19+ ENTRYPOINT ["cigen" ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments