try to copy from local instead of cloning directly
This commit is contained in:
parent
88c63c581b
commit
14396fa6df
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue