# Use Node.js LTS version FROM node:18 # Create app directory WORKDIR /app # Copy package files and install dependencies COPY package*.json ./ RUN npm install # Copy your index.js and other files COPY . . # IMPORTANT: Hugging Face uses port 7860 by default EXPOSE 7860 # Start the application CMD ["node", "index.js"]