blog/Dockerfile

15 lines
305 B
Text
Raw Normal View History

FROM docker.io/library/nginx:alpine
2023-11-22 21:06:15 +00:00
RUN apk add hugo git
RUN mkdir -p /opt/compute4change-news
COPY . /opt/compute4change-news
WORKDIR /opt/compute4change-news
# RUN git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1
RUN hugo
2023-11-22 20:32:28 +00:00
RUN cp -r public/* /usr/share/nginx/html