FROM chill/base-image:8.4-edge@sha256:dc18312d159e2b1dabe1dcbc62fe694bec7031e7658bb78ba153e4eb7913fdd7 # copy directories COPY ./bin /var/www/app/bin/. COPY ./composer.* /var/www/app/ COPY ./config /var/www/app/config/. COPY ./migrations /var/www/app/migrations/. COPY ./public /var/www/app/public/. COPY ./src /var/www/app/src/. COPY ./templates /var/www/app/templates/. COPY ./translations /var/www/app/translations/. COPY ./vendor /var/www/app/vendor/. COPY ./.env /var/www/app/.env # import the manifest.json file COPY ./public/build/manifest.json /var/www/app/public/build/manifest.json ADD ./entrypoint.sh /. RUN chmod +x /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] ENV PHP_FPM_USER=www-data \ PHP_FPM_GROUP=www-data \ COMPOSER_HOME=/var/www/app/.composer \ SESSION_LIFETIME=10800 CMD [ "php-fpm" ]