Fountain Coach Gitowner-controlled · read only

swarm-orchestrator.git · Dockerfile

swarm-orchestrator.git / Dockerfile

revision d7a5396df8701d4e0ce97e1f6a3fab8fac75a121 · complete file

FROM python:3.11-slim

WORKDIR /app
ENV PYTHONPATH=/app    

# Install only what's needed
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt \
    && pip install --no-cache-dir pytest httpx

# Copy entire repo layout
COPY . .

# Expose for FastAPI
EXPOSE 8000

# Always call entrypoint.py
CMD ["python", "app/entrypoint.py"]