From 61ea6e3009fe8d5fc06560a637823e526c4f1edf Mon Sep 17 00:00:00 2001 From: moshferatu Date: Wed, 13 Nov 2024 06:28:46 -0800 Subject: [PATCH] Add Dockerfile for running healthcheck script in a container --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..346320e --- /dev/null +++ b/Dockerfile @@ -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"] \ No newline at end of file