added Dockerfile

This commit is contained in:
AHMZA
2021-12-08 20:11:04 +00:00
parent fcec69d29a
commit 864a1058d8
+6
View File
@@ -0,0 +1,6 @@
FROM alpine:latest
RUN which curl || ( apk update && apk add curl )
RUN curl -L https://github.com/gohugoio/hugo/releases/download/v0.90.0/hugo_0.90.0_Linux-64bit.tar.gz > hugo.tar.gz
RUN tar -zxf hugo.tar.gz
RUN mv hugo /usr/local/bin/hugo
CMD hugo