Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 1.06 KB

README.md

File metadata and controls

47 lines (30 loc) · 1.06 KB

Overview

Kamacharov Finance liability microservice

build

How to run it

The recommended way is to use docker-compose. That pulls down all the Docker images needed and you will have the full microservices architecture locally in order to get authentication from aiof-auth and data from aiof-data

Docker

(Optional) Build the project

dotnet build -c Release

First we need to run dotnet publish

dotnet publish -c Release -o app/publish/kamafi.liability.core

Then we build the Dockerfile

docker build -t gkama/kamafi-liability:dev -f Dockerfile .

(Optional) Run the image

docker run -it -e ASPNETCORE_ENVIRONMENT='Development' --rm -p 8000:80 gkama/kamafi-liability:dev

(Optional) Push to Docker hub

docker push gkama/kamafi-liability:dev

(Optional) Clean up none images

docker rmi $(docker images -f “dangling=true” -q)