File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM nginx:alpine
2+
3+ # Copy your static HTML into nginx's default public directory
4+ COPY index.html /usr/share/nginx/html/
5+
6+ # Expose nginx default port
7+ EXPOSE 80
8+
9+ # Start nginx
10+ CMD ["nginx" , "-g" , "daemon off;" ]
11+
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="en ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < title > Hello</ title >
6+ < style >
7+ body {
8+ margin : 0 ;
9+ padding : 0 ;
10+ background-color : # 0D1117 ; /* dark navy */
11+ color : # 2EC866 ; /* teal/green accent */
12+ font-family : Arial, sans-serif;
13+ text-align : center;
14+ }
15+ h1 {
16+ margin-top : 40px ;
17+ font-size : 3em ;
18+ }
19+ img {
20+ margin-top : 20px ;
21+ border : 4px solid # 2EC866 ;
22+ border-radius : 50% ;
23+ }
24+ </ style >
25+ </ head >
26+ < body >
27+ < h1 > Hello World</ h1 >
28+ < img src ="https://avatars.githubusercontent.com/u/229819283?s=200&v=4 " alt ="Logo ">
29+ </ body >
30+ </ html >
31+
You can’t perform that action at this time.
0 commit comments