first commit

This commit is contained in:
2026-04-21 18:25:08 +09:00
commit 2f21883dea
3 changed files with 22 additions and 0 deletions

3
Dockerfile Normal file
View File

@@ -0,0 +1,3 @@
FROM httpd:2.4-alpine
COPY ./html/ /usr/local/apache2/htdocs/

9
docker-compose.yaml Normal file
View File

@@ -0,0 +1,9 @@
services:
apache:
build: .
container_name: apache-server
ports:
- "80:80"
volumes:
- ./html:/usr/local/apache2/htdocs
restart: unless-stopped

10
html/index.html Normal file
View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>My Apache Server</title>
</head>
<body>
<h1>Docker Apache サーバ 動作中</h1>
</body>
</html>