Try building in root directory

lektura
Linus Sehn 2023-01-29 13:54:07 +01:00
parent fb30f11e31
commit 4169ba5b5f
2 changed files with 13 additions and 1 deletions

10
Dockerfile 100644
View File

@ -0,0 +1,10 @@
# SPDX-FileCopyrightText: Free Software Foundation Europe e.V.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# Build site
FROM klakegg/hugo:0.101.0-ext-debian-onbuild AS hugo
# Serve site
FROM pierrezemb/gostatic
COPY --from=hugo /target/ /srv/http/

View File

@ -7,7 +7,9 @@ services:
pmpc:
container_name: pmpc
build:
context: site
context: .
args:
- HUGO_DIR=/src/site
image: pmpc
restart: always
logging: