Skip to content

Commit

Permalink
Fix nonsensical mount location
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 committed May 14, 2024
1 parent 05547cd commit 71c2c17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM hugomods/hugo:0.124.1

RUN git config --global --add safe.directory /home/root/code
RUN git config --global --add safe.directory /code
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ services:
build:
context: '.'
volumes:
- .:/home/root/code
working_dir: /home/root/code
- .:/code
working_dir: /code
command: hugo server --bind=0.0.0.0
ports:
- 1313:1313

0 comments on commit 71c2c17

Please sign in to comment.