node auf V20 gehoben
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
# Observatory Simulation - Multi-stage Docker Build
|
# Observatory Simulation - Multi-stage Docker Build
|
||||||
|
|
||||||
# Build Stage
|
# Build Stage
|
||||||
FROM node:18-alpine AS builder
|
FROM node:20-alpine AS builder
|
||||||
|
|
||||||
LABEL maintainer="Observatory Simulation"
|
LABEL maintainer="Observatory Simulation"
|
||||||
LABEL description="Teleskop und Kuppel Simulation mit WebSocket-Architektur"
|
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
|
RUN npm ci --only=production && npm cache clean --force
|
||||||
|
|
||||||
# Production Stage
|
# Production Stage
|
||||||
FROM node:18-alpine AS production
|
FROM node:20-alpine AS production
|
||||||
|
|
||||||
# Erstelle non-root user für Sicherheit
|
# Erstelle non-root user für Sicherheit
|
||||||
RUN addgroup -g 1001 -S nodejs && \
|
RUN addgroup -g 1001 -S nodejs && \
|
||||||
|
|||||||
Reference in New Issue
Block a user