16 lines
230 B
YAML
16 lines
230 B
YAML
version: "3"
|
|
|
|
services:
|
|
serve:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile_hugo
|
|
command: |
|
|
/bin/bash -c "
|
|
cd /code
|
|
hugo serve
|
|
"
|
|
network_mode: "host"
|
|
volumes:
|
|
- .:/code
|