clone from git when building container

This commit is contained in:
Late Night Defender 2023-11-23 04:06:15 +07:00
parent 3d028bbf10
commit 9b76a08911

View file

@ -1,10 +1,10 @@
FROM docker.io/library/nginx:alpine FROM docker.io/library/nginx:alpine
RUN apk add hugo RUN apk add hugo git
RUN mkdir /opt/compute4change-news WORKDIR /opt
COPY . /opt/compute4change-news RUN git clone https://codeberg.org/TechTransThai/compute4change-news.git
WORKDIR /opt/compute4change-news WORKDIR /opt/compute4change-news