From 4ae0a38d53107261877a4b276d517af9335cfb3e Mon Sep 17 00:00:00 2001 From: Lieuwe Leene Date: Sat, 29 Oct 2022 12:50:15 +0200 Subject: [PATCH] WIP --- .dockerignore | 15 +++++++++++++++ Dockerfile | 4 ---- docker-compose.yaml | 10 +--------- personal-page | 1 - 4 files changed, 16 insertions(+), 14 deletions(-) create mode 100644 .dockerignore delete mode 100644 Dockerfile delete mode 160000 personal-page diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..8fbc1a9 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,15 @@ +node_modules +npm-debug.log +Dockerfile* +docker-compose* +.dockerignore +.git +.gitignore +.gitattibutes +.gitmodules +.env +*/bin +*/obj +.vscode +README.md +LICENSE diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index bc54402..0000000 --- a/Dockerfile +++ /dev/null @@ -1,4 +0,0 @@ -FROM klakegg/hugo:onbuild AS hugo - -FROM nginx -COPY --from=hugo ./target /usr/share/nginx/html diff --git a/docker-compose.yaml b/docker-compose.yaml index b184d98..d35a1b4 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -4,14 +4,6 @@ services: blog: container_name: personal-blog build: - context: "." + context: ./personal-page args: HUGO_ENV_ARG: "production" - HUGO_CMD: "-s /src/personal-page" - - client: - image: nginx - ports: - - 8000:80 - volumes: - - ./src:/usr/share/nginx/html diff --git a/personal-page b/personal-page deleted file mode 160000 index 649a903..0000000 --- a/personal-page +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 649a903879b31a1053adc27e1682879a952119c6