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
This commit is contained in:
Oliver Davies 2023-02-19 12:58:51 +00:00
parent 1fb75c9d93
commit d66f34480a
2 changed files with 18 additions and 4 deletions

View file

@ -1,3 +1,5 @@
DOCKER_UID=1000
{% if dockerCompose %}
export COMPOSE_PROJECT_NAME={{ name }}
export COMPOSE_PROFILES=web,php,database