Files
tatort/Dockerfile.dev
Jared e3eac5b441
Some checks failed
InnoHub Processor/tatort/pipeline/head There was a failure building this commit
change Dockerfile and copy only package.json
2025-07-24 14:51:57 +02:00

17 lines
440 B
Docker

# --- Build stage ---
FROM node:22 AS build
ENV NODE_ENV=production
ENV ORIGIN=https://tatort-dev.innovation-hub-niedersachsen.de
WORKDIR /app
COPY package.json ./
RUN npm i
COPY . ./
COPY config_dev.json ./config.json
RUN npm run build
# --- Production stage ---
FROM node:22-alpine3.20
COPY --from=build /app .
ENV HOST=0.0.0.0
EXPOSE 3000
CMD ["sh", "-c", "ORIGIN=https://tatort-dev.innovation-hub-niedersachsen.de node build/index.js"]