Spaces:
Running
Running
| # Use Node.js 18 | |
| FROM node:18 | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy package files and install dependencies | |
| COPY package.json ./ | |
| RUN npm install | |
| # Copy the rest of the app code | |
| COPY . . | |
| # Expose the port Hugging Face expects | |
| EXPOSE 7860 | |
| # Start the server | |
| CMD ["node", "server.js"] |