Download Dockerfile from Openyx/games: direct link, hf CLI and curl.
- Browser
- Download file 667 Bytes
-
https://huggingface.co/spaces/Openyx/games/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Openyx/games/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Openyx/games/resolve/main/Dockerfile
667 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| RUN apt-get update && \ | |
| apt-get install -y git && \ | |
| apt-get clean && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Clone into separate subdirectories | |
| RUN git clone --depth 1 --single-branch https://github.com/trejduu32-code/playables.git ./playables && \ | |
| git clone --depth 1 --single-branch https://github.com/bubbls/UGS-Assets.git ./ugs-assets | |
| # Create a simple index page to navigate between repos | |
| RUN echo '<html><body><h1>Repositories</h1><ul><li><a href="/playables">Playables</a></li><li><a href="/ugs-assets">UGS Assets</a></li></ul></body></html>' > index.html | |
| EXPOSE 7860 | |
| CMD ["python", "-m", "http.server", "7860"] |