From 08f0ea63404ef46ea885523315e3d8b08a2cad50 Mon Sep 17 00:00:00 2001 From: cbluebird Date: Tue, 15 Oct 2024 14:22:31 +0800 Subject: [PATCH] Update Dockerfile to fix project directory name and add Hugo support --- Framework/hugo/v0.135.0/Dockerfile | 2 +- Framework/hugo/v0.135.0/project/entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Framework/hugo/v0.135.0/Dockerfile b/Framework/hugo/v0.135.0/Dockerfile index 3a3ca87..0aedca5 100644 --- a/Framework/hugo/v0.135.0/Dockerfile +++ b/Framework/hugo/v0.135.0/Dockerfile @@ -15,7 +15,7 @@ git init && \ git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke && \ echo "theme = 'ananke'" >> hugo.toml && \ hugo - + COPY /Framework/hugo/v0.135.0/project /home/sealos/project USER root diff --git a/Framework/hugo/v0.135.0/project/entrypoint.sh b/Framework/hugo/v0.135.0/project/entrypoint.sh index b153d7e..2a1e22b 100644 --- a/Framework/hugo/v0.135.0/project/entrypoint.sh +++ b/Framework/hugo/v0.135.0/project/entrypoint.sh @@ -1 +1 @@ -hugo server \ No newline at end of file +hugo server --bind 0.0.0.0 \ No newline at end of file