blog/Dockerfile
2023-11-23 03:32:28 +07:00

13 lines
No EOL
208 B
Docker

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
RUN cp -r public/* /usr/share/nginx/html