From 3a6671a2db4fdaf8eff0d81821fdcaa94d8da875 Mon Sep 17 00:00:00 2001 From: Eugene Fox Date: Wed, 22 Feb 2023 18:18:24 +0300 Subject: [PATCH] Create README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..7bca821 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# PhonebookService +A small project I've done as job interview task + +It is based on Domain-driven Design principles (aka Clean architecture) and uses Docker for containerization + +## Build and run +1. Clone the repository +2. Open terminal in the root folder +3. Run `dotnet build` and `dotnet run` + +> Make sure you have .NET 6 SDK installed + +## Building a Docker image +1. Clone the repository +2. Open terminal in the root folder +3. Run `docker build -t phonebook-service .` to build the image +4. Run `docker run -p 8080:80 --name phonebook-service-container phonebook-service` to run the image