Fountain Coach Gitowner-controlled · read only

swarm-orchestrator.git · Dockerfile

swarm-orchestrator.git / Dockerfile

revision 92c3cbb911ef861b37a53ad818245a985e40cab9 · 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"]