Download run_docker.ps1 from ghh1125/deepchem: direct link, hf CLI and curl.
- Browser
- Download file 336 Bytes
-
https://huggingface.co/spaces/ghh1125/deepchem/resolve/main/run_docker.ps1
- Command line
-
hf download hf://spaces/ghh1125/deepchem/run_docker.ps1
-
curl -L -o run_docker.ps1 https://huggingface.co/spaces/ghh1125/deepchem/resolve/main/run_docker.ps1
336 Bytes
| $ErrorActionPreference = "Stop" | |
| $ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path | |
| $PortConfig = Get-Content -Raw (Join-Path $ScriptDir "port.json") | ConvertFrom-Json | |
| $Port = [int]$PortConfig.port | |
| $ImageName = "deepchem-mcp" | |
| Set-Location $ScriptDir | |
| docker build -t $ImageName . | |
| docker run --rm -p "${Port}:7860" $ImageName | |