add entrypoint to compose.yaml
This commit is contained in:
@@ -3,14 +3,14 @@ name: andrewamason.tech
|
||||
services:
|
||||
server:
|
||||
image: klakegg/hugo:latest
|
||||
entrypoint: /bin/bash
|
||||
command: >
|
||||
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"
|
||||
|
||||
hugo serve --bind 0.0.0.0 --port 8080
|
||||
#command: server -D
|
||||
volumes:
|
||||
- nfs_hugo_src:/src
|
||||
|
||||
Reference in New Issue
Block a user