From ce24059b9fa17ce876ca2eee309f3557d712eae5 Mon Sep 17 00:00:00 2001 From: briskt <3172830+briskt@users.noreply.github.com> Date: Thu, 16 Nov 2023 22:02:01 -0700 Subject: [PATCH] change to chown user:user --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9703da0..cc2a480 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ RUN go install github.com/cosmtrek/air@v1.43.0 RUN go install github.com/pressly/goose/v3/cmd/goose@v3.11.2 # set up to run as a normal user -RUN useradd user && mkdir /home/user && chown user.user /home/user && chown user.user /src +RUN useradd user && mkdir /home/user && chown user:user /home/user && chown user:user /src USER user ENV GOPATH /home/user/go