Skip to content

Commit daa7563

Browse files
committed
docs: update Docker Compose configuration to specify user and working directory
Signed-off-by: Mert Şişmanoğlu <[email protected]>
1 parent d9df67d commit daa7563

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ If you prefer Docker Compose:
6969
```yml
7070
services:
7171
node:
72-
image: "node:22"
72+
image: node:22
73+
user: node
74+
working_dir: /home/node/app
7375
environment:
7476
- NODE_ENV=production
7577
volumes:

0 commit comments

Comments
 (0)