Эх сурвалжийг харах

Fix healthcheck to hit the right endpoint

kirkleon 4 жил өмнө
parent
commit
77251c176d
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      server/Dockerfile

+ 1 - 1
server/Dockerfile

@@ -2,7 +2,7 @@ FROM python:3.9
 
 LABEL maintainer="Kirk Trombley <ktrom3894@gmail.com>"
   
-HEALTHCHECK CMD curl --fail http://localhost:5000/ || exit 1
+HEALTHCHECK CMD curl --fail http://localhost:5000/health || exit 1
 
 WORKDIR /app/