| FROM node:22-slim | |
| # Install build dependencies required for better-sqlite3 | |
| RUN apt-get update && apt-get install -y python3 make g++ && rm -rf /var/lib/apt/lists/* | |
| # Install OmniRoute | |
| RUN npm install -g omniroute | |
| # Set up data directory and port | |
| ENV OMNIROUTE_DATA_DIR=/data | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| # Start OmniRoute using the correct command | |
| CMD ["omniroute", "serve", "--port", "7860"] | |