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