Download Dockerfile from ls-ylm/ls: direct link, hf CLI and curl.
- Browser
- Download file 486 Bytes
-
https://huggingface.co/spaces/ls-ylm/ls/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ls-ylm/ls/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ls-ylm/ls/resolve/main/Dockerfile
486 Bytes
| FROM alpine AS depend | |
| RUN apk add --update --no-cache ca-certificates tzdata | |
| FROM busybox:stable-musl | |
| ARG TARGETOS | |
| ARG TARGETARCH | |
| COPY --from=depend /etc/ssl/certs /etc/ssl/certs | |
| COPY --from=depend /usr/share/zoneinfo /usr/share/zoneinfo | |
| COPY ./script/entrypoint.sh /entrypoint.sh | |
| RUN chmod +x /entrypoint.sh | |
| WORKDIR /dashboard | |
| COPY dist/dashboard-${TARGETOS}-${TARGETARCH} ./app | |
| VOLUME ["/dashboard/data"] | |
| EXPOSE 8008 | |
| ARG TZ=Asia/Shanghai | |
| ENV TZ=$TZ | |
| ENTRYPOINT ["/entrypoint.sh"] | |