From fe9cd4da0875dd1f10bc65d90f8c930843466fd9 Mon Sep 17 00:00:00 2001 From: Scott Hatlen Date: Sun, 31 Jul 2022 17:09:21 -0700 Subject: [PATCH] removed git info from theme --- .gitignore | 4 ++-- Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index fb7e86b..5c9c120 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ hugo-content/public/* -.DS_Store -./*.lock \ No newline at end of file +**/.DS_Store +**/.hugo_build.lock \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 0729878..6d6de0c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,8 @@ FROM alpine:latest RUN apk add --no-cache git hugo RUN git clone https://github.com/scottyah/scottyah-blog.git -WORKDIR scottyah-blog +RUN git submodule add https://github.com/monkeyWzr/hugo-theme-cactus.git scottyah-blog/hugo-content/themes/cactus +WORKDIR scottyah-blog/hugo-content EXPOSE 1313:1313 CMD ["hugo", "server", "--bind", "0.0.0.0", "-D"]