Compare commits

...

2 Commits

3 changed files with 20 additions and 0 deletions

2
Dockerfile Normal file
View File

@@ -0,0 +1,2 @@
FROM nginx:alpine
COPY . /usr/share/nginx/html

8
docker-compose.yaml Normal file
View File

@@ -0,0 +1,8 @@
version: "3.8"
services:
app:
build: .
ports:
- "8000:80" # Map port 8000 on the host to port 80 in the container
volumes:
- .:/usr/share/nginx/html # Mount the current directory to Nginx's serving directory in the container

View File

@@ -0,0 +1,10 @@
<HTML>
<head>
</head>
<body>
<div>
<p>Hello World!</p>
</div>
</body>
</HTML>