FAEA/Dockerfile
2025-12-22 17:14:46 +08:00

23 lines
661 B
Docker

FROM python:3.11-slim
WORKDIR /app
# Install system dependencies
# curl/wget for healthchecks if needed
# git for potential VCS needs
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Playwright needs browsers installed if we were running it here,
# but orchestrator mainly coordinates. If it validates logic that imports playwright,
# we might need deps. For now, keep it slim.
COPY . .
CMD ["python", "-m", "src.main"]
# (Note: src.main doesn't exist yet, but wait command in compose overrides this)