From 221ac17831dd711ac7f1d4795d7cc16252a96013 Mon Sep 17 00:00:00 2001 From: omaroughriss Date: Tue, 9 Sep 2025 12:19:00 +0200 Subject: [PATCH] Add the sdk-signer-client in the final image --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ed2b4ad..4ff7b5e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file