diff --git a/.fleek.json b/.fleek.json new file mode 100644 index 0000000..d0ba21d --- /dev/null +++ b/.fleek.json @@ -0,0 +1,10 @@ +{ + "build": { + "image": "polpetta/fleek:latest", + "command": "git lfs install && git lfs pull && yarn && hugo", + "publicDir": "public", + "environment": { + "HUGO_DISABLELANGUAGES": "it" + } + } +} diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a88615e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM fleek/hugo:node-16 + +LABEL MAINTAINER="Davide Polonio poloniodavide@gmail.com" +LABEL DESCRIPTION="Docker image for deploying website on IPFS via fleek" + +RUN apt-get update \ + && apt-get install -y git-lfs \ + && rm -rf /var/lib/apt/lists/* \ No newline at end of file