From 0c684e60445134dea4eb4f1adcf9b569eabb8e28 Mon Sep 17 00:00:00 2001 From: Wilkin van Roosmalen Date: Sat, 24 Feb 2024 13:09:29 +0100 Subject: [PATCH] Container: make hugo resources dir writable for every user OpenShift throws at it --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 1e4cb9f..a87c95e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,7 @@ RUN wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hug WORKDIR /usr/src/app COPY . . RUN git submodule init && git submodule update --remote --merge +RUN mkdir -m 777 /usr/src/app/resources EXPOSE 1313 CMD [ "/opt/hugo", "server", "--bind=0.0.0.0" ]