Dockerfile auf npm geaendert

This commit is contained in:
titver968
2025-04-08 14:48:44 +02:00
parent 1419b8e7c2
commit 591b607d99

View File

@@ -4,9 +4,9 @@ ENV NODE_ENV=production
ENV ORIGIN=https://tatort.innovation-hub-niedersachsen.de ENV ORIGIN=https://tatort.innovation-hub-niedersachsen.de
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN pnpm install RUN npm ci
COPY . ./ COPY . ./
RUN pnpm run build RUN npm run build
# --- Production stage --- # --- Production stage ---
FROM node:19-alpine3.16 FROM node:19-alpine3.16