FROM python:3.12-slim
RUN pip install --no-cache-dir \
    numpy pandas scipy matplotlib pillow requests pyproj xlsxwriter \
    openpyxl h5py rasterio geopandas shapely python-docx fastapi uvicorn
WORKDIR /app
COPY *.py /app/
EXPOSE 8822
CMD ["python", "hgs_flood2d_server.py"]
