website/docker-compose.yml

19 lines
262 B
YAML
Raw Normal View History

2021-05-04 18:57:45 +00:00
version: "3"
services:
serve:
build:
context: .
dockerfile: Dockerfile_hugo
command: |
/bin/bash -c "
cd /code
hugo serve
"
ports:
- "1313:1313"
network_mode: "host"
volumes:
- .:/code