Skip to content

Commit

Permalink
fix docker healthcheck and refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
DirtyRacer1337 committed Jan 3, 2025
1 parent 1fafa1b commit c3d8587
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ RUN apt-get update \
libssl-dev \
systemd \
systemd-sysv \
python3-pip \
python3-dev \
python3-venv \
curl \
wget \
gnupg2 \
xvfb \
Expand Down Expand Up @@ -81,5 +79,5 @@ ENV GIT_HASH=$GIT_HASH
ENV PROJECT_VERSION=$PROJECT_VERSION

EXPOSE 6980
HEALTHCHECK --interval=1m --timeout=30s CMD curl -s $(python3 -m namer url)/api/healthcheck >/dev/null || exit 1
HEALTHCHECK --interval=1m --timeout=30s CMD curl -s $(namer url)/api/healthcheck >/dev/null || exit 1
ENTRYPOINT ["namer", "watchdog"]

0 comments on commit c3d8587

Please sign in to comment.