FROM python:3.12-slim WORKDIR /app COPY shared/ shared/ RUN pip install --no-cache-dir ./shared COPY services/news-collector/ services/news-collector/ RUN pip install --no-cache-dir ./services/news-collector RUN python -c "import nltk; nltk.download('vader_lexicon', quiet=True)" ENV PYTHONPATH=/app CMD ["python", "-m", "news_collector.main"]