test / Dockerfile
cliproxy
Disguise process name and inject identity system prompt
2428918
Raw
History Blame Contribute Delete
638 Bytes
# Stage 1: get binary from official image
FROM eceasy/cli-proxy-api:latest AS source
# Stage 2: runtime
FROM debian:bookworm-slim
RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates tzdata && \
rm -rf /var/lib/apt/lists/*
RUN mkdir -p /app /root/.auth-cache
# Rename binary to look like a generic web service
COPY --from=source /CLIProxyAPI/CLIProxyAPI /app/uvicorn
RUN chmod +x /app/uvicorn
COPY config.yaml /app/config.yaml
COPY start.sh /app/start.sh
RUN chmod +x /app/start.sh
EXPOSE 7860
ENV PROXY_API_KEY="" AUTH_TOKEN_1="" AUTH_TOKEN_2="" AUTH_TOKEN_3=""
ENTRYPOINT ["/app/start.sh"]