diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f2cbd66..adfbed2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v7 - name: Run hadolint - uses: hadolint/hadolint-action@v3.3.0 + uses: hadolint/hadolint-action@v3.4.0 with: trusted-registries: docker.io,ghcr.io shell-scripts: diff --git a/Dockerfile b/Dockerfile index 8bef71d..d27a859 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN apk add --no-cache \ ARG workdir=/var/www WORKDIR "${workdir}" -HEALTHCHECK --interval=10s --start-period=90s CMD netstat -ltn | grep -c ":443" +HEALTHCHECK --interval=10s --start-period=90s CMD [ "sh", "-c", "netstat -ltn | grep -c :443" ] ENV EXPIRATION_DAYS=30 ENV NGINX_DOCUMENT_ROOT=/var/www/web