Fountain Coach Gitowner-controlled · read only

swarm-orchestrator.git · Dockerfile

swarm-orchestrator.git / Dockerfile

revision 0b0fa1bb873cea8d5eb88bc89199dc83f7f2d99b · 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"]