diff --git a/JS/Dockerfile b/JS/Dockerfile index 73c88d9..326b181 100644 --- a/JS/Dockerfile +++ b/JS/Dockerfile @@ -1,7 +1,7 @@ # Observatory Simulation - Multi-stage Docker Build # Build Stage -FROM node:18-alpine AS builder +FROM node:20-alpine AS builder LABEL maintainer="Observatory Simulation" LABEL description="Teleskop und Kuppel Simulation mit WebSocket-Architektur" @@ -15,7 +15,7 @@ COPY package*.json ./ RUN npm ci --only=production && npm cache clean --force # Production Stage -FROM node:18-alpine AS production +FROM node:20-alpine AS production # Erstelle non-root user für Sicherheit RUN addgroup -g 1001 -S nodejs && \