Spaces:
Sleeping
Sleeping
Download Dockerfile from LordXido/BitcoinNetwork: direct link, hf CLI and curl.
- Browser
- Download file 310 Bytes
-
https://huggingface.co/spaces/LordXido/BitcoinNetwork/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/LordXido/BitcoinNetwork/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/LordXido/BitcoinNetwork/resolve/main/Dockerfile
310 Bytes
| FROM rust:1.74 AS builder | |
| WORKDIR /app | |
| COPY . . | |
| RUN cargo build --release | |
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY --from=builder /app/target/release/bcn-vm /app/bcn-vm | |
| COPY api /app/api | |
| COPY web /app/web | |
| RUN pip install fastapi uvicorn | |
| CMD ["uvicorn", "api.server:app", "--host", "0.0.0.0", "--port", "7860"] |