FROM php:8.3-cli WORKDIR /check COPY php-src/ ./ RUN find /check -type d -exec chmod 0755 {} + \ && find /check -type f -exec chmod 0644 {} + USER 1000:1000 CMD ["php", "/check/check.php"]