initialize submodule when building container

This commit is contained in:
Late Night Defender 2023-11-23 04:14:30 +07:00
parent 06358e10ec
commit a899de64ea

View file

@ -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