FROM node:18-alpine WORKDIR /app # Copy package files COPY package.json package-lock.json ./ # Install dependencies RUN npm install # CMD will be executed when container starts CMD ["npm", "run", "dev"]