2023-11-22 20:29:50 +00:00
|
|
|
FROM docker.io/library/nginx:alpine
|
|
|
|
|
2023-11-22 21:06:15 +00:00
|
|
|
RUN apk add hugo git
|
2023-11-22 20:29:50 +00:00
|
|
|
|
2023-11-22 21:06:15 +00:00
|
|
|
WORKDIR /opt
|
2023-11-22 20:29:50 +00:00
|
|
|
|
2023-11-22 21:06:15 +00:00
|
|
|
RUN git clone https://codeberg.org/TechTransThai/compute4change-news.git
|
2023-11-22 20:29:50 +00:00
|
|
|
|
|
|
|
WORKDIR /opt/compute4change-news
|
|
|
|
|
|
|
|
RUN hugo
|
|
|
|
|
2023-11-22 20:32:28 +00:00
|
|
|
RUN cp -r public/* /usr/share/nginx/html
|