Skip to content

Commit 209c4aa

Browse files
committed
Fix healtcheck in docker
1 parent e217d9d commit 209c4aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ COPY --from=builder /app/public /usr/share/nginx/html
5353
COPY nginx.conf /etc/nginx/conf.d/default.conf
5454

5555
HEALTHCHECK --interval=15s --timeout=5s --start-period=5s --retries=3 \
56-
CMD wget -q --spider http://localhost/ || exit 1
56+
CMD wget -q --spider http://127.0.0.1/ || exit 1
5757

5858
EXPOSE 80
5959

0 commit comments

Comments
 (0)