Add -p to mkdir
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing

This commit is contained in:
Lennard Brinkhaus 2022-01-10 18:13:15 +01:00
parent bf8d5574e9
commit 7bfed4d775
No known key found for this signature in database
GPG Key ID: 015DB28D8EEE19EC

View File

@ -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 .