Without PYTHONUNBUFFERED=1, Python buffers stdout causing podman logs to show no output. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
10 lines
184 B
Docker
10 lines
184 B
Docker
FROM python:3.13-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
RUN pip install --no-cache-dir maxminddb>=2.0 PySocks>=1.7.1
|
|
|
|
ENV PYTHONPATH=/app/src
|
|
ENV PYTHONUNBUFFERED=1
|
|
ENTRYPOINT ["python", "-m", "derp"]
|