Download Dockerfile from triflix/mongodb: direct link, hf CLI and curl.
- Browser
- Download file 165 Bytes
-
https://huggingface.co/spaces/triflix/mongodb/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/triflix/mongodb/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/triflix/mongodb/resolve/main/Dockerfile
165 Bytes
| # Use official MongoDB image | |
| FROM mongo:7.0 | |
| # Expose default MongoDB port | |
| EXPOSE 27017 | |
| # Run MongoDB allowing external connections | |
| CMD ["mongod", "--bind_ip_all"] | |