Try building in root directory
parent
fb30f11e31
commit
4169ba5b5f
|
@ -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/
|
|
@ -7,7 +7,9 @@ services:
|
||||||
pmpc:
|
pmpc:
|
||||||
container_name: pmpc
|
container_name: pmpc
|
||||||
build:
|
build:
|
||||||
context: site
|
context: .
|
||||||
|
args:
|
||||||
|
- HUGO_DIR=/src/site
|
||||||
image: pmpc
|
image: pmpc
|
||||||
restart: always
|
restart: always
|
||||||
logging:
|
logging:
|
||||||
|
|
Loading…
Reference in New Issue