next try
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit was not built
All checks were successful
InnoHub Processor/tatort/pipeline/head This commit was not built
This commit is contained in:
@@ -3,13 +3,11 @@ FROM node:22 AS build
|
|||||||
ENV NODE_ENV=development
|
ENV NODE_ENV=development
|
||||||
ENV ORIGIN=https://tatort-dev.innovation-hub-niedersachsen.de
|
ENV ORIGIN=https://tatort-dev.innovation-hub-niedersachsen.de
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package*.json ./
|
COPY package.json ./
|
||||||
RUN npm i --unsafe-perm
|
RUN npm i --unsafe-perm
|
||||||
COPY . ./
|
COPY . ./
|
||||||
COPY config_dev.json ./config.json
|
COPY config_dev.json ./config.json
|
||||||
RUN rm -rf node_modules package-lock.json \
|
RUN npm run build
|
||||||
&& npm install --unsafe-perm \
|
|
||||||
&& npm run build
|
|
||||||
|
|
||||||
# --- Production stage ---
|
# --- Production stage ---
|
||||||
FROM node:22-alpine3.20
|
FROM node:22-alpine3.20
|
||||||
|
|||||||
Reference in New Issue
Block a user