From a9c0fd3bbdd62e994f5efb580c6d155b3ff569eb Mon Sep 17 00:00:00 2001 From: appleboy Date: Sun, 24 Dec 2023 20:11:08 +0800 Subject: [PATCH] chore: refactor Dockerfile directory creation and ownership commands - Change the directory creation and ownership commands in the Dockerfile Signed-off-by: appleboy --- docker/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 13cba49..49efab8 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -23,8 +23,8 @@ RUN addgroup \ -G deploy \ deploy -RUN mkdir -p /home/deploy -RUN chown deploy:deploy /home/deploy +RUN mkdir -p /home/deploy && \ + chown deploy:deploy /home/deploy # deploy:deploy USER 1000:1000