Add the sdk-signer-client in the final image
Some checks failed
Build and Push to Registry / build-and-push (push) Failing after 29s

This commit is contained in:
omaroughriss 2025-09-09 12:19:00 +02:00
parent 6c6f49417e
commit 221ac17831

View File

@ -20,7 +20,7 @@ RUN npm ci && npm run build
# Installation des dépendances de l'app
WORKDIR /app
COPY package*.json ./
RUN npm install
RUN npm ci
# Copie et build des sources de l'app
COPY tsconfig.json ./
@ -31,7 +31,6 @@ RUN npm run build
RUN npm prune --omit=dev && npm cache clean --force
FROM node:19-alpine
WORKDIR /app
# Création d'un utilisateur non-root
@ -43,7 +42,7 @@ USER appuser
COPY --from=builder --chown=appuser:appuser /app/package*.json ./
COPY --from=builder --chown=appuser:appuser /app/node_modules ./node_modules
COPY --from=builder --chown=appuser:appuser /app/dist ./dist
COPY --from=builder /sdk-signer-client /sdk-signer-client
# Configuration du port et démarrage
EXPOSE 8080
CMD ["npm", "start"]