Deploy laravel project using docker

i am trying to deploy the laravel project using Docker but did not get any success. i have an existing project that need to deploy. below my docker file

FROM wyveo/nginx-php-fpm:php80

WORKDIR /var/www/html

COPY . .

RUN chmod +x 00-laravel-deploy.sh

Image config

ENV SKIP_COMPOSER 1
ENV WEBROOT /var/www/html/public
ENV PHP_ERRORS_STDERR 1
ENV RUN_SCRIPTS 1
ENV REAL_IP_HEADER 1

Laravel config

ENV APP_ENV local
ENV APP_DEBUG true
ENV LOG_CHANNEL daily

Allow composer to run as root

ENV COMPOSER_ALLOW_SUPERUSER 1

CMD [“./00-laravel-deploy.sh”]

==> No open ports detected, continuing to scan…

Jul 6 04:29:33 PM==> Docs on specifying a port: Web Services – Render Docs

Jul 6 04:29:33 PM==> Port scan timeout reached, no open ports detected. Bind your service to at least one port. If you don’t need to receive traffic on any port, create a background worker instead.

please help

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.