JAVA-12420 Renamed docker to docker-modules

This commit is contained in:
Dhawal Kapil
2022-06-03 17:47:09 +05:30
parent 6b63897e42
commit 403c757a06
70 changed files with 10 additions and 10 deletions

View File

@@ -0,0 +1,2 @@
FROM nginx:latest
COPY nginx.conf /etc/nginx/nginx.conf

View File

@@ -0,0 +1,8 @@
events {}
http {
server {
listen 80;
index index.html;
}
}

View File

@@ -0,0 +1,3 @@
FROM nginx:latest
COPY sample-site/html/* /etc/nginx/html/
COPY config/nginx.conf /etc/nginx/nginx.conf

View File

@@ -0,0 +1,2 @@
FROM sample-site-base:latest
COPY html/* /etc/nginx/html/

View File

@@ -0,0 +1,3 @@
FROM nginx:latest
COPY html/* /etc/nginx/html/
COPY config/nginx.conf /etc/nginx/nginx.conf

View File

@@ -0,0 +1,6 @@
mkdir tmp-context
cp -R ../html tmp-context/
cp -R ../../config tmp-context/
cp Dockerfile-script tmp-context/Dockerfile
docker build -t sample-site:latest tmp-context
rm -rf tmp-context

View File

@@ -0,0 +1,10 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Sample Site</title>
</head>
<body>
<h2>Welcome to the first page of the site</h2>
</body>
</html>