Add stub
rtj.dev Build and Deploy / Build-and-Deploy (push) Successful in 1m3s Details

This commit is contained in:
Roland Thomas Jr 2023-06-14 21:49:50 -04:00
parent 3e36f0bc09
commit 13774818ed
Signed by: roland
GPG Key ID: 7C3C2B085A4C2872
3 changed files with 18 additions and 2 deletions

View File

@ -2,3 +2,4 @@ FROM klakegg/hugo:ext-alpine-onbuild as hugo
FROM nginx FROM nginx
COPY --from=hugo /target /usr/share/nginx/html COPY --from=hugo /target /usr/share/nginx/html
COPY default.conf /etc/nginx/conf.d/

15
default.conf Normal file
View File

@ -0,0 +1,15 @@
server {
listen 80;
location / {
root /usr/share/nginx/html;
}
}
server {
listen 8080;
location /stub_status {
stub_status;
}
}