Skip to content

Commit 42bdc11

Browse files
committed
Make docker-compose.yaml platform independent
1 parent 598fdcb commit 42bdc11

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
HUGO_VERSION=0.122.0
2+
CURRENT_DIR=.

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
ports:
1818
- 1313:1313
1919
volumes:
20-
- ${PWD}:/src
20+
- ${CURRENT_DIR}:/src
2121
command: hugo
2222
- server
2323
- --bind=0.0.0.0

0 commit comments

Comments
 (0)