spb/qwhpi Public
QHPI — Quebec Housing Price Index: quality-adjusted, hierarchically pooled housing price indexes.
Python 63.9%
TypeScript 25.4%
CSS 5.5%
TeX 3.5%
SQL 0.8%
Makefile 0.5%
Dockerfile 0.5%
1# =============================================================================2# QWHPI — Quebec Weekly Housing Price Index3# Author : Simon-Pierre Boucher4# Contact : contact@spboucher.ai5# File : api/Dockerfile6# Purpose : Container image for the QWHPI API service.7# =============================================================================8FROM python:3.12-slim9WORKDIR /srv10COPY pyproject.toml ./11RUN pip install --no-cache-dir fastapi "uvicorn[standard]" polars pydantic "psycopg[binary]"12COPY app ./app13EXPOSE 808014CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080"]15