# Node.js 20 LTS als Basis FROM node:20-alpine # Arbeitsverzeichnis WORKDIR /app # package.json + package-lock.json kopieren COPY package*.json ./ # Dependencies installieren RUN npm install # Restliche App-Dateien kopieren COPY . . # Port in Container EXPOSE 3000 # Startkommando # CMD ["npm", "run", "dev"] CMD ["npm", "start"]