File size: 717 Bytes
54b112b
 
 
 
 
 
9e7b4b9
54b112b
 
 
 
 
 
d8f2220
 
54b112b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
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/)