diff --git a/README.md b/README.md index 6e50552c..7d30a1ac 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ Before you begin, ensure you have the following: 1. [Docker System](https://docs.docker.com/get-started/get-docker/) (v24) 2. [Docker compose](https://docs.docker.com/compose/install/) (v2.29) -3. [Python](https://www.python.org/downloads/) (v3.12) +3. [Python](https://www.python.org/downloads/) (v3.13) Arch's CLI allows you to manage and interact with the Arch gateway efficiently. To install the CLI, simply run the following command: diff --git a/arch/Dockerfile b/arch/Dockerfile index 5e9eae76..29793882 100644 --- a/arch/Dockerfile +++ b/arch/Dockerfile @@ -8,7 +8,7 @@ RUN cargo build --release -p brightstaff FROM docker.io/envoyproxy/envoy:v1.34-latest AS envoy -FROM python:3.12-slim AS arch +FROM python:3.13.6-slim AS arch # Purge PAM to avoid CVE-2025-6020 and install needed tools # 1) Install what you need while apt still works @@ -24,7 +24,6 @@ RUN set -eux; \ dpkg -P --force-all libpam-modules libpam-modules-bin libpam-runtime libpam0g || true; \ rm -rf /etc/pam.d /lib/*/security /usr/lib/security || true - COPY --from=builder /arch/target/wasm32-wasip1/release/prompt_gateway.wasm /etc/envoy/proxy-wasm-plugins/prompt_gateway.wasm COPY --from=builder /arch/target/wasm32-wasip1/release/llm_gateway.wasm /etc/envoy/proxy-wasm-plugins/llm_gateway.wasm COPY --from=builder /arch/target/release/brightstaff /app/brightstaff @@ -42,5 +41,3 @@ RUN pip install requests RUN mkdir -p /var/log/supervisor && touch /var/log/envoy.log /var/log/supervisor/supervisord.log ENTRYPOINT ["sh","-c", "/usr/bin/supervisord"] -# ENTRYPOINT ["sh","-c", "python config_generator.py && envsubst < /etc/envoy/envoy.yaml > /etc/envoy.env_sub.yaml && envoy -c /etc/envoy.env_sub.yaml --log-level trace 2>&1 | tee /var/log/envoy.log"] -# ENTRYPOINT ["sh","-c", "python config_generator.py && envsubst < /etc/envoy/envoy.yaml > /etc/envoy.env_sub.yaml && envoy -c /etc/envoy.env_sub.yaml --component-log-level wasm:info 2>&1 | tee /var/log/envoy.log"]