Spaces:
Sleeping
Sleeping
Download Dockerfile from swcanner/DiffDock-Web: direct link, hf CLI and curl.
- Browser
- Download file 427 Bytes
-
https://huggingface.co/spaces/swcanner/DiffDock-Web/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/swcanner/DiffDock-Web/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/swcanner/DiffDock-Web/resolve/main/Dockerfile
427 Bytes
| # This container is a basic web frontend, we do the heavy-lifting in the | |
| # main DiffDock image. | |
| FROM rbgcsail/diffdock | |
| USER $APPUSER | |
| WORKDIR $HOME/$DIR_NAME | |
| # Expose port for web service | |
| EXPOSE 7860 | |
| # Precompute series for SO(2) and SO(3) groups | |
| RUN micromamba run -n ${ENV_NAME} python utils/precompute_series.py | |
| # Run app under micromamba environment | |
| CMD ["sh", "-c", "micromamba run -n ${ENV_NAME} python3 app/main.py"] | |