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 --- # --- Build stage ---
FROM node:19 as build FROM node:19 as build
ENV NODE_ENV=production ENV NODE_ENV=production
ENV ORIGIN=https://tatort.innovation-hub-niedersachsen.de
WORKDIR /app WORKDIR /app
COPY package*.json ./ COPY package*.json ./
RUN npm ci RUN npm ci
COPY . ./ COPY . ./
RUN npm run build RUN ORIGIN=https://tatort.innovation-hub-niedersachsen.de npm run build
# --- Production stage --- # --- Production stage ---
FROM node:19-alpine3.16 FROM node:19-alpine3.16