23 lines
492 B
Docker
Executable File
23 lines
492 B
Docker
Executable File
FROM python:3.12-slim-bookworm
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
PYTHONUNBUFFERED=1 \
|
|
PIP_DISABLE_PIP_VERSION_CHECK=1 \
|
|
PYTHONPATH=/app/src:/app/domains/seat/src
|
|
|
|
WORKDIR /app
|
|
|
|
COPY pyproject.toml ./
|
|
COPY src ./src
|
|
COPY apps ./apps
|
|
COPY config ./config
|
|
COPY contracts ./contracts
|
|
COPY domains ./domains
|
|
COPY platforms ./platforms
|
|
|
|
RUN python -m pip install --no-cache-dir ".[llm]"
|
|
|
|
EXPOSE 8000
|
|
|
|
CMD ["python", "-m", "cognitive_agent.server", "--host", "0.0.0.0", "--port", "8000"]
|