Spaces:
Paused
Paused
Download Dockerfile from Erinaldordso/CODEX: direct link, hf CLI and curl.
- Browser
- Download file 252 Bytes
-
https://huggingface.co/spaces/Erinaldordso/CODEX/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Erinaldordso/CODEX/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Erinaldordso/CODEX/resolve/main/Dockerfile
252 Bytes
| FROM ollama/ollama:latest | |
| ENV OLLAMA_HOST=0.0.0.0:7860 | |
| ENV OLLAMA_MODELS=/tmp/ollama | |
| RUN mkdir -p /tmp/ollama && chmod -R 777 /tmp | |
| COPY entrypoint.sh /entrypoint.sh | |
| RUN chmod +x /entrypoint.sh | |
| EXPOSE 7860 | |
| ENTRYPOINT ["/bin/bash", "/entrypoint.sh"] |