diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 17896fe..0000000 --- a/.dockerignore +++ /dev/null @@ -1,3 +0,0 @@ -.git -Dockerfile -.dockerignore diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 4f4d0aa..0000000 --- a/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM jojomi/hugo:0.85.0 as build - -WORKDIR /site -COPY . . - -RUN hugo --minify -b https://recipes.simon987.net - -FROM nginx:1.20.1-alpine - -COPY nginx.conf /etc/nginx/nginx.conf -COPY --from=build /site/public/ /www/ diff --git a/nginx.conf b/nginx.conf deleted file mode 100644 index 3850d00..0000000 --- a/nginx.conf +++ /dev/null @@ -1,30 +0,0 @@ -user nginx; -worker_processes auto; - -error_log /dev/stderr warn; - -events { - worker_connections 1024; -} - -http { - include /etc/nginx/mime.types; - default_type application/octet-stream; - - log_format main '$remote_addr - $remote_user [$time_local] "$request" ' - '$status $body_bytes_sent "$http_referer" ' - '"$http_user_agent" "$http_x_forwarded_for"'; - - access_log /dev/stdout main; - - sendfile on; - keepalive_timeout 5; - - server { - listen 80 default_server; - - location / { - root /www/; - } - } -}