# Use a standard Node.js environment FROM node:18 # Create a place for your code WORKDIR /app # Install dependencies first (better for caching) COPY package*.json ./ RUN npm install # Copy all your project files COPY . . # Hugging Face usually expects port 7860 by default, # but since your project likely uses 8000, we ensure it matches. ENV PORT=8000 EXPOSE 8000 # Start the application CMD ["npm", "start"]