Add stub
rtj.dev Build and Deploy / Build-and-Deploy (push) Successful in 1m3s
Details
rtj.dev Build and Deploy / Build-and-Deploy (push) Successful in 1m3s
Details
This commit is contained in:
parent
3e36f0bc09
commit
13774818ed
|
@ -1,4 +1,5 @@
|
||||||
FROM klakegg/hugo:ext-alpine-onbuild as hugo
|
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/
|
|
@ -0,0 +1,15 @@
|
||||||
|
server {
|
||||||
|
listen 80;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
root /usr/share/nginx/html;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
listen 8080;
|
||||||
|
|
||||||
|
location /stub_status {
|
||||||
|
stub_status;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue