add entrypoint to compose.yaml

This commit is contained in:
Andrew Amason
2024-12-30 16:15:47 -05:00
parent fdb2e9a7c5
commit 8513fbc852

View File

@@ -3,14 +3,14 @@ name: andrewamason.tech
services: services:
server: server:
image: klakegg/hugo:latest image: klakegg/hugo:latest
entrypoint: /bin/bash
command: > command: >
hugo new site quickstart && hugo new site quickstart &&
cd quickstart && cd quickstart &&
git init && git init &&
git submodule add https://github.com/luizdepra/hugo-coder.git themes/hugo-coder && git submodule add https://github.com/luizdepra/hugo-coder.git themes/hugo-coder &&
echo 'theme = "hugo-coder"' >> hugo.toml && echo 'theme = "hugo-coder"' >> hugo.toml &&
hugo serve --bind 0.0.0.0 --port 8080" hugo serve --bind 0.0.0.0 --port 8080
#command: server -D #command: server -D
volumes: volumes:
- nfs_hugo_src:/src - nfs_hugo_src:/src