Remove custom container image
This commit is contained in:
parent
4de82c1c4f
commit
390b7722de
3 changed files with 0 additions and 51 deletions
|
@ -1,6 +0,0 @@
|
|||
Containerfile
|
||||
.containerignore
|
||||
/node_modules/
|
||||
/package-lock.json
|
||||
/public/
|
||||
/static/processed_images/
|
|
@ -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/
|
36
nginx.conf
36
nginx.conf
|
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue