From 365078ae6411aa043767fec4ff5bd4ab59748fe1 Mon Sep 17 00:00:00 2001 From: Andrea Date: Thu, 2 Sep 2021 19:31:25 +0200 Subject: [PATCH] refactored the README.md file, added Dockerfile and public_html folder --- Dockerfile | 10 ++++++++++ README.md | 6 +++++- css/style.css | 8 -------- index.html | 33 --------------------------------- public_html/index.html | 12 ++++++++++++ 5 files changed, 27 insertions(+), 42 deletions(-) create mode 100644 Dockerfile delete mode 100644 css/style.css delete mode 100644 index.html create mode 100644 public_html/index.html diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2834ae6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +ARG version=2.4.48 + +FROM httpd:$version-alpine + +LABEL version=1.0 + +COPY ./public_html/ /usr/local/apache2/htdocs/ + +EXPOSE 80/tcp + diff --git a/README.md b/README.md index 2915ad0..a92dd5b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # Nullable's website -My personal website. You can find some of my personal information, my work experiences and all my contacts. +A simple website built with [Docker](https://www.docker.com/) and [apache httpd image](https://hub.docker.com/_/httpd/). + +In this repository you can find the Dockerfile and the public_html containing all the file for the website. + + diff --git a/css/style.css b/css/style.css deleted file mode 100644 index df12ed3..0000000 --- a/css/style.css +++ /dev/null @@ -1,8 +0,0 @@ -* { - margin: 0; - padding: 0; -} - -#wrapper { - -} diff --git a/index.html b/index.html deleted file mode 100644 index 96ae747..0000000 --- a/index.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - - Nullable - - - -
-
- -
- -
- -
-
- -
-
- - diff --git a/public_html/index.html b/public_html/index.html new file mode 100644 index 0000000..5d62d3c --- /dev/null +++ b/public_html/index.html @@ -0,0 +1,12 @@ + + + + Null + + + + +

Hello, World!

+

Nothing to do here, just a boring page

+ +