From 7bfed4d7756daab39ff73c80ef149a9b7a636e39 Mon Sep 17 00:00:00 2001 From: Lennard Brinkhaus Date: Mon, 10 Jan 2022 18:13:15 +0100 Subject: [PATCH] Add -p to mkdir --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7a9ebbd..4262950 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN go mod download COPY . /src -RUN mkdir /webdav/root && chown -R 101:101 /webdav +RUN mkdir -p /webdav/root && chown -R 101:101 /webdav ENV GO113MODULE=on RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-extldflags "-static"' -o app .