FROM docker.io/library/nginx:alpine RUN apk add git go RUN apk add --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community --no-cache hugo RUN mkdir -p /opt/blachp.techtransthai.org COPY . /opt/blachp.techtransthai.org WORKDIR /opt/blachp.techtransthai.org RUN hugo RUN cp -r public/* /usr/share/nginx/html