1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00
Files
archived-doc-en/docker-compose.yml
Anna Filina 52a614e6b4 Create a docker container for a single-line setup and rendering (#2638)
Use case: a casual contributor who wants to preview their changes before opening a PR.

There is currently no way to provide custom args to phd/render.php, because then we'd be back to complicated instructions.

I tried not to make any assumptions about the host system, so I don't use make.

Co-authored-by: Lewis Cowles <lewis+github@cowles.uk>
2023-08-07 22:14:27 +01:00

9 lines
111 B
YAML

version: '3'
services:
doc:
build: .docker
working_dir: /var/www
volumes:
- .:/var/www/en