Use docker-compose #28

Merged
benjaoming merged 2 commits from benjaoming/website:docker-compose into new 2021-05-04 20:34:13 +00:00
Showing only changes of commit 95ad580bb8 - Show all commits

View file

@ -1,19 +1,6 @@
version: "3" version: "3"
services: services:
build:
build:
context: .
dockerfile: Dockerfile_hugo
command: |
/bin/bash -c "
cd /code
hugo --destination _site/
"
volumes:
- .:/code
serve: serve:
build: build:
context: . context: .