@@ -1,8 +0,0 @@
-FROM klakegg/hugo:ext-alpine AS builder
-WORKDIR /src
-COPY . /src
-RUN hugo --minify --destination /tmp/public
-
-FROM nginx:1.27-alpine
-COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf
-COPY --from=builder /tmp/public /usr/share/nginx/html
@@ -1,9 +0,0 @@
-services:
- personal-site:
- build:
- context: ..
- dockerfile: deploy/Dockerfile
- container_name: personal-hugo-site
- ports:
- - "9080:80"
- restart: unless-stopped
@@ -1,15 +0,0 @@
-server {
- listen 80;
- server_name _;
- root /usr/share/nginx/html;
- index index.html;
- location / {
- try_files $uri $uri/ /index.html;
- }
- location = /robots.txt {
- access_log off;
- log_not_found off;
-}