Download Dockerfile from Good12313/self: direct link, hf CLI and curl.
- Browser
- Download file 733 Bytes
-
https://huggingface.co/spaces/Good12313/self/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Good12313/self/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Good12313/self/resolve/main/Dockerfile
733 Bytes
| FROM alpine:3.21 | |
| ENV TZ=Asia/Shanghai | |
| ENV PORT=8317 | |
| ENV RUNTIME_DIR=/tmp/runtime | |
| ENV SUPERVISOR_CONF=/etc/supervisord.conf | |
| ENV SUPERVISOR_CONF_TEMPLATE=/etc/supervisord.conf.template | |
| ENV STOP_WAIT_SECS=60 | |
| RUN apk add --no-cache ca-certificates curl supervisor tzdata \ | |
| && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \ | |
| && echo $TZ > /etc/timezone | |
| COPY entrypoint.sh /usr/local/bin/entrypoint.sh | |
| COPY scripts/release-common.sh /usr/local/bin/release-common.sh | |
| COPY scripts/update-loop.sh /usr/local/bin/update-loop.sh | |
| COPY supervisord.conf /etc/supervisord.conf.template | |
| RUN chmod +x /usr/local/bin/entrypoint.sh /usr/local/bin/release-common.sh /usr/local/bin/update-loop.sh | |
| ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] | |