Spaces:
Sleeping
Sleeping
Refactor Dockerfile to prevent home directory creation for appuser
Browse files- 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 |
|