# Stub Worker Dockerfile # Lightweight image for development — no toolchain dependencies # # Build from project root: # docker build -f services/workers/Dockerfile.stub . FROM python:3.9-slim WORKDIR /app RUN pip install --no-cache-dir redis>=5.0 boto3>=1.28 COPY services/workers/ /app/services/workers/ RUN mkdir -p /data/jobs ENV WORKER_MODE=stub ENV REDIS_URL=redis://redis:6379 ENV JOB_DATA_DIR=/data/jobs ENV STORAGE_BACKEND=local # STAGE should be set to: onnx, bie, or nef ENV STAGE=onnx CMD python -m services.workers.${STAGE}.worker