Spaces:
Running
Running
dependabot[bot]
build(deps): bump rust from 1.77.2-alpine3.18 to 1.78.0-alpine3.18 (#574)
052d9fd unverified Download dev.Dockerfile from alamin655/spacex: direct link, hf CLI and curl.
- Browser
- Download file 378 Bytes
-
https://huggingface.co/spaces/alamin655/spacex/resolve/main/dev.Dockerfile
- Command line
-
hf download hf://spaces/alamin655/spacex/dev.Dockerfile
-
curl -L -o dev.Dockerfile https://huggingface.co/spaces/alamin655/spacex/resolve/main/dev.Dockerfile
378 Bytes
| # Create Builder image | |
| FROM --platform=$BUILDPLATFORM rust:1.78.0-alpine3.18 | |
| # Install required dependencies | |
| RUN apk add --no-cache alpine-sdk musl-dev g++ make libcrypto3 libressl-dev perl build-base | |
| RUN cargo install cargo-watch --locked | |
| # Create project directory | |
| RUN mkdir -p /project | |
| WORKDIR /project | |
| ENV RUSTFLAGS="-C target-feature=-crt-static" | |
| ENTRYPOINT ["cargo"] | |