diff --git a/.containerignore b/.containerignore deleted file mode 100644 index fc0806e..0000000 --- a/.containerignore +++ /dev/null @@ -1,6 +0,0 @@ -Containerfile -.containerignore -/node_modules/ -/package-lock.json -/public/ -/static/processed_images/ diff --git a/Containerfile b/Containerfile deleted file mode 100644 index a8a8d5f..0000000 --- a/Containerfile +++ /dev/null @@ -1,9 +0,0 @@ -FROM ghcr.io/getzola/zola:v0.17.2 AS build -WORKDIR /site -COPY . . -RUN ["zola", "build"] - -FROM docker.io/library/nginx:alpine -EXPOSE 80 -COPY ./nginx.conf /etc/nginx/nginx.conf -COPY --from=build /site/public/ /usr/share/nginx/html/ diff --git a/nginx.conf b/nginx.conf deleted file mode 100644 index 3d574f6..0000000 --- a/nginx.conf +++ /dev/null @@ -1,36 +0,0 @@ -user nginx; -worker_processes auto; - -error_log /var/log/nginx/error.log error; - -events { - worker_connections 1024; -} - -http { - charset utf-8; - - access_log off; - log_not_found off; - - sendfile on; - tcp_nopush on; - tcp_nodelay on; - - gzip on; - - server_tokens off; - - include /etc/nginx/mime.types; - default_type application/octet-stream; - - server { - root /usr/share/nginx/html; - index index.html; - - location / { - } - - error_page 404 /404.html; - } -}