Oliver Davies
6b5c1b5aee
feat: add project_root
setting
...
Allow for overriding the project root from `/app` to something else,
such as `/var/www/html`.
The default is set within a new `build.defaults.yaml` file which the
project specific file is merged into.
Fixes #27
2023-03-10 22:21:14 +00:00
Oliver Davies
8b2181525d
fix: automatically copy PHPUnit files
2023-03-09 11:51:44 +00:00
Oliver Davies
0fcffc5d2f
feat: add "auto-generated" text to templates
...
Fixes #21
2023-03-08 21:13:28 +00:00
Oliver Davies
a5f5771317
fix: add /app/bin to PATH
...
Ensure that Drush and other vendor binaries will work if the vendor bin
path is changed to `/app/bin` as it is with LocalGov Drupal.
Refs #24
2023-03-03 21:52:05 +00:00
Oliver Davies
34810088c3
feat: add extra_files
...
Copy extra files into the image.
2023-02-20 23:00:22 +00:00
Oliver Davies
d66f34480a
feat: use a non-root Docker user
...
Create a non-root `app` user within Docker that maps to default user
(uid 1000) on Linux-based systems.
Refs #10
2023-02-19 13:00:06 +00:00
Oliver Davies
eb29d11134
feat: add Caddy as a web server
2023-02-14 20:14:43 +00:00
Oliver Davies
b258b3e034
feat(Dockerfile): allow adding extra directories
2023-02-14 10:41:51 +00:00
Oliver Davies
1e800c0a56
refactor: run each command in a separate layer
...
This makes it easier to debug from which command an error might be
coming from.
2023-02-14 10:41:08 +00:00
Oliver Davies
43f27371e2
Fix missing dependencies on first load
2023-01-21 19:53:19 +00:00
Oliver Davies
4a575c7d14
fix: Commands should be separated by newlines
2023-01-19 22:40:09 +00:00
Oliver Davies
579c476a54
Add remaining templates
2023-01-19 19:47:15 +00:00