fix build
This commit is contained in:
parent
33ad93bc4f
commit
9c42fb00fc
@ -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", "--"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user