anchor.diff:  LABEL maintainer="developers@robojackets.org"
   
   ENV DEBIAN_FRONTEND=noninteractive \
  -    COMPOSER_NO_INTERACTION=1
  +    COMPOSER_NO_INTERACTION=1 \
  +    HOME=/tmp
   
  -RUN set -e && \
  -    set -x && \
  +RUN set -eux && \
       apt-get update && \
       apt-get upgrade -qq --assume-yes && \
       apt-get install -qq --assume-yes \
           php7.4-fpm php7.4-mysql php7.4-gd php7.4-xml php7.4-mbstring php7.4-zip php7.4-curl php7.4-intl \
  -        php7.4-opcache php7.4-bcmath php7.4-ldap php7.4-uuid php7.4-sqlite sqlite3 exiftool ghostscript unzip && \
  +        php7.4-opcache php7.4-bcmath php7.4-ldap php7.4-uuid php7.4-sqlite sqlite3 exiftool ghostscript unzip libfcgi-bin && \
       apt-get autoremove -qq --assume-yes && \
       mkdir /app && \
       chown www-data:www-data /app && \
  
positive.code: USER www-data
  
  RUN --mount=type=secret,id=composer_auth,dst=/app/auth.json,uid=33,gid=33 \
      set -e && \
      set -x && \
      composer install --no-interaction --no-progress --no-dev --optimize-autoloader --classmap-authoritative --no-cache && \
      php artisan nova:publish && \
      php artisan horizon:publish
  
negative.code: 
  WORKDIR /app/
  
  RUN set -eux && \
      npm ci --no-progress && \
      npm run production --no-progress
  
  