Compare commits
2 Commits
83b69818f2
...
0a560c460f
| Author | SHA1 | Date | |
|---|---|---|---|
| 0a560c460f | |||
| 28cf2ff4e1 |
2
Dockerfile
Normal file
2
Dockerfile
Normal file
@@ -0,0 +1,2 @@
|
||||
FROM nginx:alpine
|
||||
COPY . /usr/share/nginx/html
|
||||
8
docker-compose.yaml
Normal file
8
docker-compose.yaml
Normal 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
|
||||
10
index.html
10
index.html
@@ -0,0 +1,10 @@
|
||||
<HTML>
|
||||
<head>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<p>Hello World!</p>
|
||||
</div>
|
||||
</body>
|
||||
</HTML>
|
||||
Reference in New Issue
Block a user