FROM python:3.9-slim-bookworm # Install cron RUN apt-get update && apt-get -y install cron WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY . . # Upewnij się, że skrypt entrypoint.sh jest wykonywalny RUN chmod a+x /app/entrypoint.sh # Uruchom skrypt entrypoint, który zajmie się resztą CMD ["/app/entrypoint.sh"]