add dockerignore for node_modules
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit

This commit is contained in:
2025-07-24 15:02:28 +02:00
parent e3eac5b441
commit c715295c72
2 changed files with 3 additions and 1 deletions

2
.dockerignore Normal file
View File

@@ -0,0 +1,2 @@
node_modules
build

View File

@@ -3,7 +3,7 @@ FROM node:22 AS build
ENV NODE_ENV=production ENV NODE_ENV=production
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 RUN npm i
COPY . ./ COPY . ./
COPY config_dev.json ./config.json COPY config_dev.json ./config.json