This commit is contained in:
Christopher Hase 2025-03-26 10:31:06 +01:00
parent a4856d9619
commit d2688a6b7b
2 changed files with 18 additions and 1 deletions

View file

@ -8,7 +8,8 @@ WORKDIR /app
COPY package*.json ./
COPY . .
RUN npm install
#RUN npm install
RUN npm install -g npm@11.2.0
RUN npx tsc # TypeScript Code kompilieren
# 2. Rust Build-Stage

View file

@ -15,3 +15,19 @@ spec:
containers:
- image: forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/devfw-cicd/iching-broker:main
name: iching-broker
livenessProbe:
httpGet:
path: /healthz
port: 8080
initialDelaySeconds: 30
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
readinessProbe:
httpGet:
path: /ready
port: 8080
initialDelaySeconds: 20
periodSeconds: 10
timeoutSeconds: 3
successThreshold: 2