2023-11-22 20:29:50 +00:00
|
|
|
FROM docker.io/library/nginx:alpine
|
|
|
|
|
|
|
|
RUN apk add hugo
|
|
|
|
|
|
|
|
RUN mkdir /opt/compute4change-news
|
|
|
|
|
|
|
|
COPY . /opt/compute4change-news
|
|
|
|
|
|
|
|
WORKDIR /opt/compute4change-news
|
|
|
|
|
|
|
|
RUN hugo
|
|
|
|
|
2023-11-22 20:32:28 +00:00
|
|
|
RUN cp -r public/* /usr/share/nginx/html
|