1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-01-09 19:52:55 -05: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

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"]