swarm-orchestrator.git · Dockerfile
swarm-orchestrator.git / Dockerfile
revision 6f97b5bc3686e22afa3b6e3963706ed1340d2cea · 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"]