Merge branch 'cv-channel-urci3p' into channel

This commit is contained in:
xintaofei
2026-03-31 14:05:16 +08:00
3 changed files with 17 additions and 2 deletions

View File

@@ -17,12 +17,18 @@ COPY src-tauri/ ./
RUN cargo build --release --bin codeg-server --no-default-features
# Stage 3: Runtime
FROM debian:bookworm-slim
FROM node:22-bookworm-slim
RUN apt-get update && apt-get install -y \
libsqlite3-0 \
git \
openssh-client \
ca-certificates \
curl \
python3 \
python3-pip \
gcc \
g++ \
make \
&& rm -rf /var/lib/apt/lists/*
COPY --from=backend /app/src-tauri/target/release/codeg-server /usr/local/bin/codeg-server

View File

@@ -1,6 +1,6 @@
# CI-only Dockerfile: uses pre-built binaries from build-server job
# For local builds, use the standard Dockerfile instead
FROM debian:bookworm-slim
FROM node:22-bookworm-slim
ARG TARGETARCH
@@ -9,6 +9,12 @@ RUN apt-get update && apt-get install -y \
git \
openssh-client \
ca-certificates \
curl \
python3 \
python3-pip \
gcc \
g++ \
make \
&& rm -rf /var/lib/apt/lists/*
COPY dist/${TARGETARCH}/codeg-server /usr/local/bin/codeg-server

View File

@@ -9,6 +9,9 @@
"welcome",
"folder-*",
"commit-*",
"merge-*",
"stash-*",
"push-*",
"settings",
"project-boot"
],