fix: Docker deployment - fix Dockerfiles, registry.py f-strings, Gateway app structure

This commit is contained in:
Ivan Tytar
2025-11-15 15:59:42 +01:00
parent ff01021f96
commit df0055bb03
8 changed files with 90 additions and 49 deletions

View File

@@ -5,13 +5,18 @@ LABEL maintainer="DAARION.city Team"
LABEL description="CrewAI Orchestrator - Multi-agent workflow service"
LABEL version="0.2.0"
WORKDIR /app
WORKDIR /app/orchestrator
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
COPY ../requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Install Python dependencies
RUN pip install --no-cache-dir \
fastapi==0.109.0 \
uvicorn==0.27.0 \
pydantic==2.5.3 \
httpx==0.26.0
# Copy orchestrator code
COPY . .
EXPOSE 9010
@@ -19,4 +24,4 @@ EXPOSE 9010
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD curl -f http://localhost:9010/health || exit 1
CMD ["python", "crewai_backend.py", "--host", "0.0.0.0", "--port", "9010"]
CMD ["python", "-m", "uvicorn", "crewai_backend:app", "--host", "0.0.0.0", "--port", "9010"]