Spaces:
Paused
Paused
Download Dockerfile from Ntk123/HuggingClaw: direct link, hf CLI and curl.
- Browser
- Download file 797 Bytes
-
https://huggingface.co/spaces/Ntk123/HuggingClaw/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Ntk123/HuggingClaw/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Ntk123/HuggingClaw/resolve/main/Dockerfile
797 Bytes
| FROM eclipse-temurin:25-jre-jammy | |
| ARG PLAYIT_VERSION=v1.0.10 | |
| ENV MC_MEM=4G \ | |
| STATUS_PORT=7860 | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends ca-certificates curl python3 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN curl -fsSL -o /usr/local/bin/playitd \ | |
| "https://github.com/playit-cloud/playit-agent/releases/download/${PLAYIT_VERSION}/playit-linux-amd64" \ | |
| && chmod +x /usr/local/bin/playitd | |
| WORKDIR /data | |
| COPY server.jar /server/server.jar | |
| COPY server.properties /data/server.properties | |
| COPY control.py /server/control.py | |
| RUN printf 'eula=true\n' > /data/eula.txt \ | |
| && useradd --create-home --uid 1000 minecraft \ | |
| && chown -R minecraft:minecraft /data /server | |
| USER minecraft | |
| EXPOSE 25565 7860 | |
| STOPSIGNAL SIGTERM | |
| ENTRYPOINT ["python3", "/server/control.py"] | |