Add Dockerfile for running healthcheck script in a container

This commit is contained in:
moshferatu 2024-11-13 06:28:46 -08:00
parent 2ca06eb92a
commit 61ea6e3009

6
Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM python:3.13-slim
COPY healthcheck.py .
COPY requirements.txt .
RUN apt-get update && apt-get install -y docker.io
RUN pip install -r requirements.txt
CMD ["python", "healthcheck.py"]