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,12 +2,15 @@ FROM node:22-alpine
WORKDIR /app
RUN apk add --no-cache curl jq
COPY package*.json ./
RUN npm ci
COPY src ./src
COPY scripts ./scripts
COPY tsconfig.json ./tsconfig.json
ENV NODE_ENV=production
CMD ["npm", "run", "start"]
CMD ["sh", "-lc", ". /app/scripts/load-vault-env.sh && npm run start"]