1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-07-13 12:13:56 -04:00

use relative URLs for Docker local server

This commit is contained in:
2021-03-03 22:27:27 -05:00
parent 152ac851f4
commit 91299c225f
3 changed files with 652 additions and 467 deletions
+1 -1
View File
@@ -5,4 +5,4 @@ FROM ghcr.io/jakejarvis/hugo-extended:0.79.1
# expose live-refresh server (on custom port)
EXPOSE 1337
CMD ["server", "--disableFastRender", "--buildDrafts", "--buildFuture", "--port", "1337", "--bind", "0.0.0.0", "--verbose"]
CMD ["server", "--disableFastRender", "--buildDrafts", "--buildFuture", "--port", "1337", "--baseURL", "/", "--appendPort", "false", "--bind", "0.0.0.0", "--verbose"]