# Use Node.js 20 as the base image FROM node:20-alpine # Set the working directory in the container WORKDIR /app # Copy package.json and package-lock.json (if available) COPY package*.json ./ # Install dependencies RUN npm install # Copy the rest of your application code COPY . . # Expose the port your app runs on EXPOSE 7860 # Command to run your app in development mode CMD ["npm", "run", "start:dev"]