Dockerfile

This commit is contained in:
titver968
2025-03-07 11:38:34 +01:00
parent df27d9259a
commit 7ddaa9237d

View File

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