timetracker icon indicating copy to clipboard operation
timetracker copied to clipboard

Optimized dockerfiles - PHP 8.1, volume and xdebug

Open ram-fabian-heinrich opened this issue 2 years ago • 1 comments

Based on https://github.com/anuko/timetracker/pull/127:

  • Install all application dependencies in the same block

  • Add --no-install-recommends switch to reduce image size

  • Install all PHP extensions in the same block

  • Add version to DB base image to fix Dockerfilelint issue

Additional changes:

  • Removed the copyiny of files to /var/www/html. Added a volume instead. This volumes syncs local files with files in docker container.
  • Configuration files must now be created manually. Added step to CONTRIBUTING.md.
  • Added xdebug extension.
  • Docker php version from 7.2 to 8.1.

ram-fabian-heinrich avatar Sep 04 '23 15:09 ram-fabian-heinrich

Hello, it may take me a while to review this due to other emergencies.

anuko avatar Sep 14 '23 13:09 anuko