From 268c88b12ce98dc64c93f6fefe4665dd12681b53 Mon Sep 17 00:00:00 2001 From: Andrew Amason Date: Mon, 30 Dec 2024 16:08:10 -0500 Subject: [PATCH] updates to command scripts --- compose.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/compose.yaml b/compose.yaml index 37e2afb..8f3a791 100644 --- a/compose.yaml +++ b/compose.yaml @@ -3,12 +3,14 @@ name: andrewamason.tech services: server: image: cgr.dev/chainguard/hugo:latest - command: hugo new site quickstart - command: cd quickstart - command: git init - command: git submodule add https://github.com/luizdepra/hugo-coder.git themes/hugo-coder - command: echo 'theme = "hugo-coder"' >> hugo.toml - command: hugo serve --bind 0.0.0.0 --port 8080 + command: > + sh -c hugo new site quickstart && + cd quickstart && + git init && + git submodule add https://github.com/luizdepra/hugo-coder.git themes/hugo-coder && + echo 'theme = "hugo-coder"' >> hugo.toml && + hugo serve --bind 0.0.0.0 --port 8080" + #command: server -D volumes: - nfs_hugo_src:/src