Files
BlueMastoFeed/Dockerfile
Ralf Kirchner dbcb624abf
All checks were successful
Build and Push Docker Image on Tag / build_and_push (push) Successful in 30s
Create Release / release (push) Successful in 8s
chore(base): Release 0.9.8
2025-06-02 20:07:12 +02:00

20 lines
395 B
Docker

FROM python:3.11-slim
LABEL version="0.9.8"
RUN apt-get update && apt-get install -y curl && apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY . /app
RUN pip install --no-cache-dir -r requirements.txt
CMD ["python", "bluemastofeed.py"]
HEALTHCHECK --interval=1m --timeout=5s --start-period=10s --retries=3 \
CMD curl -f http://localhost:8000/health || exit 1
EXPOSE 8000