Download Dockerfile from Prajith04/piston: direct link, hf CLI and curl.
- Browser
- Download file 212 Bytes
-
https://huggingface.co/spaces/Prajith04/piston/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Prajith04/piston/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Prajith04/piston/resolve/main/Dockerfile
212 Bytes
| # Use the official Piston image as the base | |
| FROM ghcr.io/engineer-man/piston:latest | |
| # Set the working directory | |
| WORKDIR /piston | |
| # Expose the API port | |
| EXPOSE 2000 | |
| # Start the Piston API | |
| CMD ["piston", "serve"] | |