This commit is contained in:
Lieuwe Leene 2022-10-29 12:50:15 +02:00
parent edbeb46280
commit 4ae0a38d53
4 changed files with 16 additions and 14 deletions

15
.dockerignore Normal file
View File

@ -0,0 +1,15 @@
node_modules
npm-debug.log
Dockerfile*
docker-compose*
.dockerignore
.git
.gitignore
.gitattibutes
.gitmodules
.env
*/bin
*/obj
.vscode
README.md
LICENSE

View File

@ -1,4 +0,0 @@
FROM klakegg/hugo:onbuild AS hugo
FROM nginx
COPY --from=hugo ./target /usr/share/nginx/html

View File

@ -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

@ -1 +0,0 @@
Subproject commit 649a903879b31a1053adc27e1682879a952119c6