Add the /healthcheck path which returns an HTTP200 OK response for checking the helath of the container after startup

This commit is contained in:
2024-11-17 19:10:28 +01:00
parent a59fad4866
commit 561b2aed27
4 changed files with 19 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
FROM alpine:latest
RUN apk add --no-cache python3 py3-pip python3-dev py3-setuptools gcc python3-dev jpeg-dev zlib-dev musl-dev py3-gunicorn
RUN apk add --no-cache python3 py3-pip python3-dev py3-setuptools gcc python3-dev jpeg-dev zlib-dev musl-dev py3-gunicorn curl
COPY . /home/shimatta/kenkyusho
WORKDIR /home/shimatta/kenkyusho
RUN python3 -m venv /home/shimatta/kenkyusho/.venv && . /home/shimatta/kenkyusho/.venv/bin/activate && pip install -r requirements.txt