add vault bootstrap for services and vault deploy app

This commit is contained in:
Ruslan Bakiev
2026-03-08 19:37:02 +07:00
parent e4870ce669
commit f1cf90adc7
15 changed files with 373 additions and 6 deletions

View File

@@ -2,10 +2,12 @@ FROM node:22-alpine
WORKDIR /app
RUN apk add --no-cache curl jq
COPY package*.json ./
COPY prisma ./prisma
RUN npm ci
COPY . .
CMD ["npm", "run", "start"]
CMD ["sh", "-lc", ". /app/scripts/load-vault-env.sh && npm run start"]