diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..cd58b0b80 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +.git* +yarn.lock +.vscode/ diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..6cfe6c4d4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM betterweb/hugo + +WORKDIR /app + +RUN npm install yarn + +COPY . . + +RUN yarn install + +CMD ["-p", "8080", "--bind", "0.0.0.0"] + +ENTRYPOINT ["hugo", "serve"]