Spaces:
Sleeping
Sleeping
Download Dockerfile from CexyNature/task4-panel-dev: direct link, hf CLI and curl.
- Browser
- Download file 603 Bytes
-
https://huggingface.co/spaces/CexyNature/task4-panel-dev/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/CexyNature/task4-panel-dev/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/CexyNature/task4-panel-dev/resolve/main/Dockerfile
603 Bytes
| FROM jupyter/datascience-notebook:python-3.11 | |
| LABEL maintainer="Cesar Herrera <c.herreraacosta@griffith.edu.au" | |
| USER root | |
| # Install extra requirements | |
| RUN apt-get -y upgrade \ | |
| && apt-get -y update \ | |
| && apt-get install -y gdal-bin libgdal-dev g++ git nano | |
| WORKDIR /task4-panel | |
| # COPY ./requirements.txt /task4-panel/requirements.txt | |
| COPY . /task4-panel | |
| RUN pip3 install -r requirements.txt | |
| WORKDIR /task4-panel/app | |
| USER jovyan | |
| CMD ["panel", "serve", "/task4-panel/app/main.ipynb", "--address", "0.0.0.0", "--port", "7860", "--allow-websocket-origin", "cexynature-task4-panel-dev.hf.space"] | |