UniversityRadioYork / MyRadio

University Radio York's back-end radio management system
https://ury.org.uk/myradio
16 stars 16 forks source link

Composer not properly ran during docker install #1100

Open RandoomJD opened 2 years ago

RandoomJD commented 2 years ago

Recreate

  1. Follow instructions as written in Installing Myradio
  2. Fatal error listed on visiting https://localhost:4443/myradio/

    Quick-fix

  3. Enter docker container with docker exec -it myradio-myradio-1 /bin/bash
  4. Run composer install
markspolakovs commented 1 year ago

That's bizarre - the Dockerfle explicitly runs it:

WORKDIR /var/www/myradio
COPY composer.* /var/www/myradio/
RUN COMPOSER_VENDOR_DIR=/var/www/myradio/src/vendor composer install