Add -p to mkdir
This commit is contained in:
parent
bf8d5574e9
commit
7bfed4d775
@ -8,7 +8,7 @@ RUN go mod download
|
|||||||
|
|
||||||
COPY . /src
|
COPY . /src
|
||||||
|
|
||||||
RUN mkdir /webdav/root && chown -R 101:101 /webdav
|
RUN mkdir -p /webdav/root && chown -R 101:101 /webdav
|
||||||
|
|
||||||
ENV GO113MODULE=on
|
ENV GO113MODULE=on
|
||||||
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-extldflags "-static"' -o app .
|
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags '-extldflags "-static"' -o app .
|
||||||
|
Loading…
Reference in New Issue
Block a user