initialize submodule when building container
This commit is contained in:
parent
06358e10ec
commit
a899de64ea
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,8 @@ RUN git clone https://codeberg.org/TechTransThai/compute4change-news.git
|
|||
|
||||
WORKDIR /opt/compute4change-news
|
||||
|
||||
RUN git submodule update --init --recursive
|
||||
|
||||
RUN hugo
|
||||
|
||||
RUN cp -r public/* /usr/share/nginx/html
|
Loading…
Reference in a new issue