aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2023-02-25 14:41:38 +0200
committerGitHub <noreply@github.com>2023-02-25 14:41:38 +0200
commit341d731293ca0b3365005423afe7b98f6e0efca8 (patch)
tree0de8358de65cc4fc8be99ce1f788fbb8c47f77a2
parent7f4af4f04bfef8adf1edb10d8c02e1855804cd20 (diff)
parent2a82b393675bed26630a40c04e9d66e195b14ceb (diff)
Docker bugfix - Merge pull request #261 from rophy/fix-docker-git-error
Fix hugo fails to run for docker build
-rw-r--r--Dockerfile2
-rw-r--r--exampleSite/config.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index f36d060..4583390 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,7 +7,7 @@ WORKDIR /cstate
RUN apk add --no-cache hugo git
# Download the example site
-RUN git clone -b master --depth=1 https://github.com/cstate/example /cstate
+COPY exampleSite /cstate
# Copy files from this repo into themes/cstate
RUN mkdir -p /cstate/themes/cstate
diff --git a/exampleSite/config.yml b/exampleSite/config.yml
index f968d0b..a3401c0 100644
--- a/exampleSite/config.yml
+++ b/exampleSite/config.yml
@@ -109,7 +109,7 @@ baseURL: https://example.com
#
# We recommend to keep this at `true`.
# BOOLEAN; `true`, `false`
-enableGitInfo: true
+enableGitInfo: false
############################################################