Benjamin Bach
f60a5a5e9c
All checks were successful
continuous-integration/drone/pr Build is passing
32 lines
460 B
YAML
32 lines
460 B
YAML
version: "3"
|
|
services:
|
|
|
|
build:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile_hugo
|
|
command: |
|
|
/bin/bash -c "
|
|
cd /code
|
|
hugo --destination _site/
|
|
"
|
|
volumes:
|
|
- .:/code
|
|
|
|
|
|
serve:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile_hugo
|
|
command: |
|
|
/bin/bash -c "
|
|
cd /code
|
|
hugo serve
|
|
"
|
|
ports:
|
|
- "1313:1313"
|
|
network_mode: "host"
|
|
volumes:
|
|
- .:/code
|
|
|