2-Olly
Observability
json-logger
Dockerfile

Use slim Python image

FROM python:3.9-slim

Set working directory

WORKDIR /app

Install dependencies

RUN pip install --no-cache-dir flask python-json-logger

Copy the app code

COPY app.py .

Expose Flask default port (if running locally or behind K8s ingress)

EXPOSE 8080

Run the app

CMD ["python", "app.py"]


💬 Need a Quick Summary?

Hey! Don't have time to read everything? I get it. 😊
Click below and I'll give you the main points and what matters most on this page.
Takes about 5 seconds • Uses Perplexity AI