Files
BlueMastoFeed/Dockerfile

20 lines
395 B
Docker
Raw Normal View History

2025-05-24 16:50:42 +02:00
FROM python:3.11-slim
2025-06-01 14:38:19 +02:00
LABEL version="0.9.6"
2025-05-24 16:50:42 +02:00
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