Spaces:
Runtime error
Runtime error
Download dockerfiles/Dockerfile.cpu from riccorl/relik-entity-linking: direct link, hf CLI and curl.
- Browser
- Download file 554 Bytes
-
https://huggingface.co/spaces/riccorl/relik-entity-linking/resolve/main/dockerfiles/Dockerfile.cpu
- Command line
-
hf download hf://spaces/riccorl/relik-entity-linking/dockerfiles/Dockerfile.cpu
-
curl -L -o Dockerfile.cpu https://huggingface.co/spaces/riccorl/relik-entity-linking/resolve/main/dockerfiles/Dockerfile.cpu
554 Bytes
| FROM tiangolo/uvicorn-gunicorn:python3.10-slim | |
| # Copy and install requirements.txt | |
| COPY ./requirements.txt ./requirements.txt | |
| COPY ./src /app | |
| COPY ./scripts/start.sh /start.sh | |
| COPY ./scripts/prestart.sh /app | |
| COPY ./scripts/gunicorn_conf.py /gunicorn_conf.py | |
| COPY ./scripts/start-reload.sh /start-reload.sh | |
| COPY ./VERSION / | |
| RUN mkdir -p /app/resources/model \ | |
| && pip install --no-cache-dir -r requirements.txt \ | |
| && chmod +x /start.sh && chmod +x /start-reload.sh | |
| ARG MODEL_PATH | |
| COPY ${MODEL_PATH}/* /app/resources/model/ | |
| ENV APP_MODULE=main:app | |