Files
ghostnet-openclaw/tools/router/Containerfile
T

18 lines
524 B
Docker

FROM docker.io/library/python:3.12-slim
# System dependencies
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
# Application dependencies
WORKDIR /app
COPY app/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app/ .
COPY config/ /app/config/
# Default environment variables
ENV CONFIG_PATH=/app/config/gateway.json
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "3000", "--log-level", "info", "--timeout-keep-alive", "120", "--limit-concurrency", "10"]