# Use Node.js LTS FROM node:18-bullseye-slim # Set working directory WORKDIR /app # Copy package files COPY package*.json ./ # Install dependencies RUN npm install # Copy source code COPY . . # Expose port (Hugging Face defaut is 7860) EXPOSE 7860 # Define environment variables ENV PORT=7860 # Start the application CMD ["npm", "start"]