Преглед изворни кода

Fix healthcheck to hit the right endpoint

kirkleon пре 4 година
родитељ
комит
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/