Advertisement
Daniel3996

root/Dockerfile

Feb 18th, 2024
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. FROM richarvey/nginx-php-fpm:latest
  2.  
  3. COPY . .
  4.  
  5. # Image config
  6. ENV SKIP_COMPOSER 1
  7. ENV WEBROOT /var/www/html/public
  8. ENV PHP_ERRORS_STDERR 1
  9. ENV RUN_SCRIPTS 1
  10. ENV REAL_IP_HEADER 1
  11.  
  12. # Laravel config
  13. ENV APP_ENV production
  14. ENV APP_DEBUG false
  15. ENV LOG_CHANNEL stderr
  16.  
  17. # Allow composer to run as root
  18. ENV COMPOSER_ALLOW_SUPERUSER 1
  19.  
  20. CMD ["/start.sh"]
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement