# Use a lightweight Node.js image with necessary build tools FROM node:18-bullseye # Install system dependencies (git is required for cloning) RUN apt-get update && apt-get install -y git # Set working directory WORKDIR /app # Clone repository (ensure correct structure) RUN git clone https://github.com/BNNUSA/Binace-Clone.git . # Note the '.' at end # Install project dependencies RUN npm install # Expose the correct port (verify your application's port) EXPOSE 7860 # Start the application (verify entry file location) CMD ["node", "server.js"]