Spaces:
Paused
Paused
Download Dockerfile from coincreator/opencode: direct link, hf CLI and curl.
- Browser
- Download file 439 Bytes
-
https://huggingface.co/spaces/coincreator/opencode/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/coincreator/opencode/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/coincreator/opencode/resolve/main/Dockerfile
439 Bytes
| FROM node:20-slim | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| python3 \ | |
| python3-pip \ | |
| curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN pip3 install --no-cache-dir --break-system-packages huggingface_hub[cli] | |
| RUN npm install -g opencode-ai localtunnel | |
| WORKDIR /workspace | |
| COPY start.sh /start.sh | |
| RUN chmod +x /start.sh | |
| EXPOSE 7860 3000 | |
| ENTRYPOINT ["/start.sh"] | |
| CMD ["web", "--port", "7860", "--hostname", "0.0.0.0"] | |