Spaces:
Paused
Paused
Download Dockerfile from abhirsc/spatial-toolkit-py: direct link, hf CLI and curl.
- Browser
- Download file 403 Bytes
-
https://huggingface.co/spaces/abhirsc/spatial-toolkit-py/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/abhirsc/spatial-toolkit-py/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/abhirsc/spatial-toolkit-py/resolve/main/Dockerfile
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"] | |