diff --git a/Dockerfile b/Dockerfile index 7336c9a..d0c8c16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,3 @@ -FROM nginx:latest +FROM php:apache -COPY src /usr/share/nginx/html - -CMD ["nginx", "-g", "daemon off;"] +COPY src/ /var/www/html diff --git a/Dockerfile.dev b/Dockerfile.dev index 7b3fae4..f277543 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,3 +1 @@ -FROM nginx:latest - -CMD ["nginx", "-g", "daemon off;"] +FROM php:apache diff --git a/compose.yml b/compose.yml index 45f6a0b..7720923 100644 --- a/compose.yml +++ b/compose.yml @@ -8,5 +8,5 @@ services: ports: - '8080:80' volumes: - - './src:/usr/share/nginx/html' + - './src:/var/www/html' diff --git a/src/index.html b/src/assets/style.css similarity index 80% rename from src/index.html rename to src/assets/style.css index 12ef4cb..0b03709 100644 --- a/src/index.html +++ b/src/assets/style.css @@ -1,10 +1,3 @@ - - -
- - -