clone from git when building container
This commit is contained in:
parent
3d028bbf10
commit
9b76a08911
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue