Skip to content

Commit

Permalink
Container: make hugo resources dir writable for every user OpenShift …
Browse files Browse the repository at this point in the history
…throws at it
  • Loading branch information
Siarl committed Feb 24, 2024
1 parent 1f0ac9d commit 0c684e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down

0 comments on commit 0c684e6

Please sign in to comment.