navindusa commited on
Commit
ed21419
·
1 Parent(s): baf5d45

Refactor Dockerfile to prevent home directory creation for appuser

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -21,6 +21,7 @@ RUN adduser \
21
  --gecos "" \
22
  --home "/nonexistent" \
23
  --shell "/sbin/nologin" \
 
24
  --uid "${UID}" \
25
  appuser
26
 
 
21
  --gecos "" \
22
  --home "/nonexistent" \
23
  --shell "/sbin/nologin" \
24
+ --no-create-home \
25
  --uid "${UID}" \
26
  appuser
27