blachp.techtransthai.org/Dockerfile

15 lines
323 B
Text
Raw Normal View History

2024-06-16 09:43:04 +00:00
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