Dockerfile
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user