14f9d42889
This helps running tests with the app running in a Kubernetes cluster.
12 lines
219 B
Docker
12 lines
219 B
Docker
FROM python:3.14.3-slim-trixie
|
|
|
|
COPY . /app
|
|
|
|
WORKDIR /app
|
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
HEALTHCHECK --start-period=30s --start-interval=1s CMD curl --fail http://localhost:5000/healthz
|
|
|
|
CMD ["python", "app.py"]
|