spatial-toolkit-py / Dockerfile
github-actions[bot]
Deploy Streamlit Space
843b944
Raw History Blame Contribute Delete
403 Bytes
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y \
gdal-bin \
libgdal-dev \
libgeos-dev \
libproj-dev \
&& rm -rf /var/lib/apt/lists/*
COPY . /app
RUN pip install --no-cache-dir -e .
EXPOSE 7860
CMD ["streamlit", "run", "python/app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.headless=true", "--browser.gatherUsageStats=false"]