Initial commit
This commit is contained in:
commit
55c0664e0d
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
FROM alpine:latest
|
||||||
|
RUN apk update && apk upgrade
|
||||||
|
RUN apk add --update --no-cache python3 nginx certbot
|
||||||
|
RUN mkdir -p /run/nginx
|
||||||
|
RUN mkdir -p /var/www/html
|
||||||
|
COPY default.conf /etc/nginx/http.d/
|
||||||
|
COPY index.html /var/www/html/
|
||||||
|
COPY run.sh /bin/
|
||||||
|
ENTRYPOINT ["/bin/run.sh"]
|
||||||
|
|
8
default.conf
Normal file
8
default.conf
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
server {
|
||||||
|
listen 80 default_server;
|
||||||
|
listen [::]:80 default_server;
|
||||||
|
|
||||||
|
root /var/www/html;
|
||||||
|
index index.html;
|
||||||
|
|
||||||
|
}
|
9
index.html
Normal file
9
index.html
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Welcome to tkl!</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Success! The tkl server block is working!</h1>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user