fix build

This commit is contained in:
Mamadou Khoussa [028918 DSI/DAC/DIF/DS] 2025-10-28 15:12:16 +00:00
parent 33ad93bc4f
commit 9c42fb00fc

View File

@ -49,8 +49,8 @@ USER nestjs
EXPOSE 3000
# Healthcheck
HEALTHCHECK --interval=30s --timeout=3s --start-period=40s --retries=3 \
CMD node -e "require('http').get('http://localhost:3000/health', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"
#HEALTHCHECK --interval=30s --timeout=3s --start-period=40s --retries=3 \
# CMD node -e "require('http').get('http://localhost:3000/health', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)})"
# Démarrer l'application avec dumb-init
ENTRYPOINT ["dumb-init", "--"]