Skip to content

Commit b9f5db5

Browse files
committed
Fix DK3025
1 parent 9098afb commit b9f5db5

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
@@ -12,7 +12,7 @@ RUN apk add --no-cache \
1212
ARG workdir=/var/www
1313
WORKDIR "${workdir}"
1414

15-
HEALTHCHECK --interval=10s --start-period=90s CMD netstat -ltn | grep -c ":443"
15+
HEALTHCHECK --interval=10s --start-period=90s CMD [ "sh", "-c", "netstat -ltn | grep -c :443" ]
1616

1717
ENV EXPIRATION_DAYS=30
1818
ENV NGINX_DOCUMENT_ROOT=/var/www/web

0 commit comments

Comments
 (0)