Spaces:
Running
Running
Download Dockerfile from losprimos/mc: direct link, hf CLI and curl.
- Browser
- Download file 628 Bytes
-
https://huggingface.co/spaces/losprimos/mc/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/losprimos/mc/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/losprimos/mc/resolve/main/Dockerfile
628 Bytes
| FROM eclipse-temurin:21-jdk | |
| USER root | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| python3 tini wget ca-certificates openssl zstd && \ | |
| rm -rf /var/lib/apt/lists/* | |
| RUN wget -qO /usr/local/bin/playit \ | |
| https://github.com/playit-cloud/playit-agent/releases/download/v1.0.10/playit-linux-amd64 && \ | |
| chmod +x /usr/local/bin/playit | |
| RUN mkdir -p /opt/mc/server /data | |
| COPY entrypoint sync assemble /opt/mc/ | |
| RUN chmod +x /opt/mc/entrypoint /opt/mc/sync /opt/mc/assemble | |
| ENV SERVER_DIR=/opt/mc/server \ | |
| BUCKET_DIR=/data | |
| EXPOSE 7860 7681/udp | |
| ENTRYPOINT ["tini", "--", "/opt/mc/entrypoint"] | |