# The sample app's image: Python and the psycopg PostgreSQL driver. FROM python:3.12-slim RUN pip install --no-cache-dir "psycopg[binary]==3.2.3" WORKDIR /app COPY app.py . # Any unprivileged user will do. USER 65534:65534 EXPOSE 8000 CMD ["python", "-u", "app.py"]