This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
shira-hermes/Dockerfile
T
chaim febdebf3dd fix: install dependencies directly instead of building package
Hatchling couldn't find the package directory. Since we run the app
directly with uvicorn (not as an installed library), install deps
explicitly in Dockerfile.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 17:35:26 +00:00

21 lines
521 B
Docker

FROM python:3.13-slim
WORKDIR /app
# Copy application first (needed for pip install)
COPY pyproject.toml .
COPY api/ api/
COPY mcp_server/ mcp_server/
COPY config/ config/
# Install dependencies only (not the project itself)
RUN pip install --no-cache-dir fastapi "uvicorn[standard]" httpx pydantic openai
# Create data directory for skills/memory
RUN mkdir -p /opt/data/skills /opt/data/memory
ENV PORT=3000
EXPOSE 3000
CMD ["uvicorn", "api.main:app", "--host", "0.0.0.0", "--port", "3000", "--log-level", "info"]