From b2643b1dbebf8794d15ef8c377170f3652198b32 Mon Sep 17 00:00:00 2001 From: nope Date: Sun, 21 Apr 2024 16:52:56 +0200 Subject: [PATCH] Allow setup with Docker --- .dockerignore | 3 +++ .gitignore | 2 ++ Dockerfile | 5 +++++ docker-compose.yml.example | 7 +++++++ 4 files changed, 17 insertions(+) create mode 100644 .dockerignore create mode 100644 .gitignore create mode 100644 Dockerfile create mode 100644 docker-compose.yml.example diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..8ea6aed --- /dev/null +++ b/.dockerignore @@ -0,0 +1,3 @@ +.git/ +Dockerfile +LICENSE-* diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..56a46b8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +docker-compose.yml* +!docker-compose.yml.example diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3b5babc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM nginx:1.24.0-alpine + +COPY . /usr/share/nginx/html + + diff --git a/docker-compose.yml.example b/docker-compose.yml.example new file mode 100644 index 0000000..cbaf926 --- /dev/null +++ b/docker-compose.yml.example @@ -0,0 +1,7 @@ +version: "2" + +services: + nginx: + build: . + ports: + - 8000:80