Refactor Dockerfile to create home directory with correct permissions
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -14,7 +14,7 @@ ENV HOME=/data \
|
|
14 |
PATH=/data:$PATH
|
15 |
|
16 |
# Change permissions for to read/write/execute
|
17 |
-
|
18 |
RUN chmod 777 $HOME/
|
19 |
|
20 |
# Set the working directory to the user's home directory
|
|
|
14 |
PATH=/data:$PATH
|
15 |
|
16 |
# Change permissions for to read/write/execute
|
17 |
+
RUN mkdir -p $HOME/
|
18 |
RUN chmod 777 $HOME/
|
19 |
|
20 |
# Set the working directory to the user's home directory
|