Files
vulnerability_bot/Dockerfile
2026-01-09 13:50:10 +01:00

16 lines
322 B
Docker

FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Install dependencies
RUN pip install --no-cache-dir requests python-dateutil
# Copy the script
COPY nvd_telegram_notifier.py .
# Create directories for persistent data
RUN mkdir -p /app/data
# Run the script
CMD ["python", "-u", "nvd_telegram_notifier.py"]