FROM node:20-slim # Create app directory WORKDIR /app # Copy and install dependencies COPY package*.json ./ RUN npm install # Copy the rest of the app COPY . . EXPOSE 3000 CMD ["npm", "run", "dev"]