Last Updated: 2021-05-16
I could not get the Project B code running because it used an 8-year old PHP version not available on Mac anymore. Thus I reached for Docker.
I learned the following things:
/var/www/html(typical root of a web server), therefore
$ docker-compose run app composer installmay not work since it may not be in the context of your actual app. Therefore set
RUN apt-get updateif you plan on installing ANY apt-get packages. i.e. the container starts with no database of what is available. This saves space.