XciD's picture
XciD HF Staff
Initial commit: Anthropic to OpenAI proxy with thinking support
477f56f
raw
history blame contribute delete
367 Bytes
FROM rust:1.83 as builder
WORKDIR /app
COPY Cargo.toml Cargo.lock* ./
COPY src ./src
RUN cargo build --release
FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
COPY --from=builder /app/target/release/anthropic-proxy /usr/local/bin/
ENV BIND_ADDR=0.0.0.0:7860
EXPOSE 7860
CMD ["anthropic-proxy"]