Skip to content

Commit 4169ba5

Browse files
committed
Try building in root directory
1 parent fb30f11 commit 4169ba5

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# SPDX-FileCopyrightText: Free Software Foundation Europe e.V.
2+
#
3+
# SPDX-License-Identifier: GPL-3.0-or-later
4+
5+
# Build site
6+
FROM klakegg/hugo:0.101.0-ext-debian-onbuild AS hugo
7+
8+
# Serve site
9+
FROM pierrezemb/gostatic
10+
COPY --from=hugo /target/ /srv/http/

docker-compose.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ services:
77
pmpc:
88
container_name: pmpc
99
build:
10-
context: site
10+
context: .
11+
args:
12+
- HUGO_DIR=/src/site
1113
image: pmpc
1214
restart: always
1315
logging:

0 commit comments

Comments
 (0)