Spaces:
Runtime error
Runtime error
Download Dockerfile from New-Bing/mc-server: direct link, hf CLI and curl.
- Browser
- Download file 307 Bytes
-
https://huggingface.co/spaces/New-Bing/mc-server/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/New-Bing/mc-server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/New-Bing/mc-server/resolve/main/Dockerfile
307 Bytes
| FROM ubuntu:latest | |
| USER root | |
| ENV DEBIAN_FRONTEND noninteractive | |
| COPY . /app | |
| RUN chmod -R 777 /app | |
| WORKDIR /app | |
| RUN apt-get update && apt-get install openjdk-21-jdk wget unzip -y | |
| RUN mkdir -p /.config/ngrok | |
| RUN chown -R root:root /.config/ngrok | |
| RUN chmod -R 777 /.config/ngrok | |
| CMD ["sh", "start.sh"] | |