From 705de825ce3a255cd7f449912c320cdcb1080c9e Mon Sep 17 00:00:00 2001 From: richardrobertreitz Date: Wed, 2 Apr 2025 12:24:32 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 93b3713..9449b94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # 1. Node.js Build-Stage -FROM node:20.18.1 AS build +FROM forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/node:20.18.1 AS build WORKDIR /app @@ -11,11 +11,11 @@ RUN npm install -g npm@11.2.0 RUN npx tsc # TypeScript Code kompilieren # 2. Rust build-Stage -FROM rust:1.74.0 AS rust-build +FROM forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/rust:1.74.0 AS rust-build RUN cargo install iching # 3. Final node.js runtime-Stage -FROM node:20.18.1 +FROM forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/node:20.18.1 WORKDIR /app @@ -27,4 +27,4 @@ COPY --from=rust-build /usr/local/cargo/bin/iching /usr/local/bin/iching CMD ["npx", "ts-node", "broker.ts"] #run indefinitely to avoid CrashLoopBackOff -#CMD exec /bin/bash -c "trap : TERM INT; sleep infinity & wait" \ No newline at end of file +#CMD exec /bin/bash -c "trap : TERM INT; sleep infinity & wait"