| # Use the official ntfy Docker image | |
| FROM binwiederhier/ntfy:latest | |
| # Set a non‑privileged port for Spaces to proxy (7860) | |
| ENV PORT 7860 | |
| EXPOSE 7860 | |
| # Run the ntfy server, listening on the configured port | |
| CMD ["serve", "--listen", ":7860"] |
| # Use the official ntfy Docker image | |
| FROM binwiederhier/ntfy:latest | |
| # Set a non‑privileged port for Spaces to proxy (7860) | |
| ENV PORT 7860 | |
| EXPOSE 7860 | |
| # Run the ntfy server, listening on the configured port | |
| CMD ["serve", "--listen", ":7860"] |