1
0
Fork 0

Remove custom container image

This commit is contained in:
Mo 2023-08-27 23:49:27 +02:00
parent 4de82c1c4f
commit 390b7722de
3 changed files with 0 additions and 51 deletions

View file

@ -1,6 +0,0 @@
Containerfile
.containerignore
/node_modules/
/package-lock.json
/public/
/static/processed_images/

View file

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

View file

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