# Use official Node.js LTS image FROM node:18-slim # Set the main working directory inside the container WORKDIR /app # Copy all files into the container COPY . . # Install all dependencies RUN npm install # Expose the port so Hugging Face can access the app EXPOSE 7860 # Start the server CMD ["npm", "start"]