# The app's image. coreapp deploy builds it as image:version (from
# coreapp.toml) and copies it to the Core. Replace this with your own app;
# keep it listening on the port in coreapp.toml (8080).
FROM python:3.13-slim
RUN pip install --no-cache-dir "psycopg[binary]==3.2.*"
COPY app.py /app/app.py
USER nobody
EXPOSE 8080
CMD ["python", "-u", "/app/app.py"]
