Spaces:
Paused
Paused
Download Dockerfile from lfoppiano/datastet-dev: direct link, hf CLI and curl.
- Browser
- Download file 470 Bytes
-
https://huggingface.co/spaces/lfoppiano/datastet-dev/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/lfoppiano/datastet-dev/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/lfoppiano/datastet-dev/resolve/main/Dockerfile
470 Bytes
| FROM lfoppiano/datastet:latest-develop | |
| USER root | |
| RUN mkdir -m 777 -p /opt/grobid/grobid-home/tmp | |
| RUN mkdir -m 777 -p /opt/grobid/logs | |
| RUN chmod -R uog+rw /data/db | |
| COPY --chown=lfoppiano config-docker.yml /opt/grobid/datastet/resources/config/config.yml | |
| WORKDIR /opt/grobid | |
| RUN rm -rf ~/.cache | |
| # Hack to make the lexicon loader working | |
| # RUN ln -sf datastet/resources/ resources | |
| CMD ["sh", "./datastet/bin/datastet", "server", "datastet/resources/config/config.yml"] |