diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..13714cb --- /dev/null +++ b/.dockerignore @@ -0,0 +1,5 @@ +git_commit_upstream.txt +docker/ +README.md +LICENSE.md +.dockerignore \ No newline at end of file diff --git a/_pages/about.md b/_pages/about.md index f7539b9..e074eb0 100644 --- a/_pages/about.md +++ b/_pages/about.md @@ -18,4 +18,4 @@ I am an active and curious learner. I believe that curiosity is precisely what drives me to continue learning new things. -I love creating new projects. \ No newline at end of file +I love creating new projects! \ No newline at end of file diff --git a/docker/Dockerfile b/docker/Dockerfile index 4cbf04d..d4bd554 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -33,7 +33,7 @@ RUN find . -maxdepth 1 ! -name '_site' -exec rm -rf {} \; RUN mv _site/* . -RUN rm -R _site docker README.md LICENSE.md +RUN rm -R _site FROM cupcakearmy/static diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 36bf25b..39c7d5b 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -5,7 +5,7 @@ services: build: context: ../ dockerfile: docker/Dockerfile - restart: unless-stopped + restart: always ports: - 9998:80 volumes: diff --git a/docker/forceBuild.sh b/docker/forceBuild.sh index 5593a63..7256ef2 100644 --- a/docker/forceBuild.sh +++ b/docker/forceBuild.sh @@ -1,3 +1,3 @@ #!/bin/sh -docker compose up --build +docker compose up --build -d