Download Dockerfile from 8e/deeplx: direct link, hf CLI and curl.
- Browser
- Download file 349 Bytes
-
https://huggingface.co/spaces/8e/deeplx/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/8e/deeplx/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/8e/deeplx/resolve/main/Dockerfile
349 Bytes
| FROM golang:1.22 AS builder | |
| WORKDIR /build | |
| RUN apt install -y git && \ | |
| git clone https://github.com/OwO-Network/DeepLX.git | |
| WORKDIR /build/DeepLX | |
| RUN go mod download | |
| RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o deeplx . | |
| FROM alpine:latest | |
| WORKDIR /app | |
| COPY --from=builder /build/DeepLX/deeplx /app/deeplx | |
| EXPOSE 1188 | |
| CMD ["/app/deeplx"] |