--- title: Fraud Detection Service Api emoji: ⚡ colorFrom: purple colorTo: yellow sdk: docker app_port: 8860 pinned: false short_description: API for detection and notification of fraudulent transaction --- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference # fraud-detection-service Core services of the detection pipeline ### Build the API image From the root of the project: ```bash $> docker build . -t fraud_detection:latest -f Dockerfile ``` ### Run it From the root of the project: ```bash $> docker run --rm -p 8860:8860 --mount type=bind,src=./.env,target=/app/.env fraud_detection:latest ``` Then go to [http://localhost:8860/](http://localhost:8860/)