try to copy from local instead of cloning directly

This commit is contained in:
Late Night Defender 2023-11-23 23:56:13 +07:00
parent 88c63c581b
commit 14396fa6df

View file

@ -2,13 +2,13 @@ FROM docker.io/library/nginx:alpine
RUN apk add hugo git RUN apk add hugo git
WORKDIR /opt RUN mkdir -p /opt/compute4change-news
RUN git clone https://codeberg.org/TechTransThai/compute4change-news.git COPY . /opt/compute4change-news
WORKDIR /opt/compute4change-news WORKDIR /opt/compute4change-news
RUN git submodule update --init --recursive # RUN git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1
RUN hugo RUN hugo