Dockerfile 266 B

123456789
  1. FROM kerstinsieren/alpine-phpfpm-nginx-baseimage:php74-14
  2. ENV TZ=Europe/Berlin
  3. COPY . .
  4. ONBUILD COPY composer.json ./
  5. USER root
  6. RUN composer install --no-interaction
  7. RUN chown -R nobody:nobody /var/www/html
  8. USER nobody
  9. #CMD sh -c "composer install --no-interaction"