bae705aa97
- Add NFC ePassport roadmap (ICAO 9303, eIDAS) - Add TensorFlow.js edge face detection (BlazeFace) - Add structured audit logger (GDPR-compliant) - Risk scoring support Part of KYC Apple Native UX v1.1.0
22 lines
435 B
Docker
22 lines
435 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Install Celery
|
|
RUN pip install --no-cache-dir celery redis
|
|
|
|
# Copy application
|
|
COPY . .
|
|
|
|
# Set environment
|
|
ENV PYTHONPATH=/app
|
|
ENV CELERY_BROKER_URL=redis://redis:6379/1
|
|
ENV CELERY_RESULT_BACKEND=redis://redis:6379/2
|
|
|
|
# Run Celery worker
|
|
CMD ["celery", "-A", "tasks", "worker", "--loglevel=info"]
|