From df8751bbfd09f76d9f587273d1ea572c16bbb287 Mon Sep 17 00:00:00 2001 From: Carl Tibule Date: Sun, 25 Aug 2024 21:08:40 -0500 Subject: [PATCH] Removed baseURL from the hugo config file --- Dockerfile | 3 ++- hugo.toml | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a81ebae..13a22ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,5 @@ RUN hugo FROM nginx:stable-alpine WORKDIR /usr/share/nginx/html COPY --from=build /opt/HugoApp/public . -EXPOSE 80/tcp \ No newline at end of file +EXPOSE 80 +ENTRYPOINT ["nginx", "-g", "daemon off;"] \ No newline at end of file diff --git a/hugo.toml b/hugo.toml index 2b0586a..33ce4b8 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,4 +1,3 @@ -baseURL = 'http://localhost' languageCode = 'en-us' title = "Carl's Playground" theme = 'PaperMod'