- Deleted the `/examples/docker/python-app` directory and associated files. - Integrated a custom `header-echo` server for Kubernetes and Docker Compose tests. - Updated Kubernetes and Docker Compose configurations to use the new `header-echo-server:test` image. - Enhanced Kubernetes integration tests to validate JSON responses and Cloudflare IP translation behavior.
11 lines
121 B
Docker
11 lines
121 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY server.py .
|
|
|
|
RUN chmod +x server.py
|
|
|
|
EXPOSE 8080
|
|
|
|
CMD ["python3", "server.py"]
|