From 7d1a4aaa3ea319618e998d3eb9e51816b95aeb7d Mon Sep 17 00:00:00 2001 From: lamacchinadesiderante Date: Fri, 3 Feb 2023 23:05:47 +0100 Subject: [PATCH] add Dockerfile and docker-compose --- Dockerfile | 7 +++++++ README.md | 8 +++++++- docker-compose.yml | 11 +++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..bc0a99c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM oberd/php-8.0-apache + +WORKDIR /var/www/html + +COPY . . + +EXPOSE 80 \ No newline at end of file diff --git a/README.md b/README.md index 5dd4276..ddd6c1d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # LibreX -Questo è un fork del progetto [LibreX](https://github.com/hnhx/librex). Il progetto è stato tradotto in italiano, sono stati aggiunti stili customizzati e immagini docker. +Questo è un fork del progetto [LibreX](https://github.com/hnhx/librex). + +Il progetto è stato tradotto in italiano. + +Lo stile è stato customizzato. + +E' stata aggiunta un'immagine Docker. diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..ce960ce --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,11 @@ +version: '3' + +services: + librex: + + image: librex:latest + + restart: always + + ports: + - "9000:80" \ No newline at end of file