Download opencode/Dockerfile.txt from we2app/ollama: direct link, hf CLI and curl.
- Browser
- Download file 217 Bytes
-
https://huggingface.co/spaces/we2app/ollama/resolve/main/opencode/Dockerfile.txt
- Command line
-
hf download hf://spaces/we2app/ollama/opencode/Dockerfile.txt
-
curl -L -o Dockerfile.txt https://huggingface.co/spaces/we2app/ollama/resolve/main/opencode/Dockerfile.txt
217 Bytes
| ARG OPENCODE_VERSION=latest | |
| FROM ghcr.io/anomalyco/opencode:${OPENCODE_VERSION} | |
| WORKDIR /workspace | |
| ENV OPENCODE_PASSWORD="MySecurePassword123!" | |
| EXPOSE 7860 | |
| CMD ["serve", "--hostname", "0.0.0.0", "--port", "7860"] | |