Add Dockerfile for running healthcheck script in a container
This commit is contained in:
parent
2ca06eb92a
commit
61ea6e3009
6
Dockerfile
Normal file
6
Dockerfile
Normal 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"]
|
Loading…
Reference in New Issue
Block a user