Spaces:
Sleeping
Sleeping
| # Use Node.js LTS version | |
| FROM node:18-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy package files | |
| COPY package*.json ./ | |
| # Install dependencies | |
| RUN npm install | |
| # Copy application files | |
| COPY . . | |
| # Expose port | |
| EXPOSE 7860 | |
| # Start the application | |
| CMD ["npm", "start"] |