| | |
| | FROM python:3.10-slim |
| |
|
| | WORKDIR /app |
| |
|
| | |
| | |
| | RUN apt-get update && apt-get install -y \ |
| | build-essential \ |
| | curl \ |
| | git \ |
| | libgeos-dev \ |
| | libproj-dev \ |
| | proj-bin \ |
| | && rm -rf /var/lib/apt/lists/* |
| |
|
| | |
| | |
| | |
| | RUN pip install natten==0.17.3 -f https://shi-labs.com/natten/wheels/cu121/ |
| |
|
| | |
| | |
| | RUN pip install "earth2studio[stormscope] @ git+https://github.com/NVIDIA/earth2studio.git" |
| |
|
| | |
| | |
| | RUN pip install \ |
| | streamlit \ |
| | torch \ |
| | torchvision \ |
| | numpy \ |
| | matplotlib \ |
| | cartopy \ |
| | huggingface_hub \ |
| | scipy |
| |
|
| | |
| | COPY . . |
| |
|
| | |
| | CMD ["streamlit", "run", "app.py", \ |
| | "--server.port", "7860", \ |
| | "--server.address", "0.0.0.0", \ |
| | "--server.enableCORS", "false", \ |
| | "--server.enableXsrfProtection", "false", \ |
| | "--server.fileWatcherType", "none"] |