FROM node:18-bullseye # Set working directory WORKDIR /app # Copy package files dulu (biar cache efisien) COPY package*.json ./ # Install dependencies RUN npm install --production # Copy semua file project COPY . . # Set port HuggingFace Spaces ENV PORT=7860 EXPOSE 7860 # Run app CMD ["node", "index.js"]