Developing in PHP with Docker.
https://elephant-in-containers.carcel.dev/
-
Install the dependencies:
$ docker compose run --rm node yarn install --frozen-lockfile --check-files
-
Use the development server to serve the presentation and have hot-reloading while coding:
$ docker compose run --rm node yarn dev --host
-
or build the artifacts, then serve the presentation in a production-like mode:
$ docker compose run --rm node yarn build $ docker compose run --rm node yarn preview --host
This repository is under the MIT license. You can see the complete license in the LICENSE file.