13 lines
208 B
Text
13 lines
208 B
Text
|
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 pubilc/* /usr/share/nginx/html
|