Skip to content

Commit 6b21012

Browse files
authored
Update README.md
1 parent ccaefa6 commit 6b21012

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

README.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,21 @@
1-
How to train a simple sklearn model, pickle it, and build an API with fastapi.
1+
En este repositorio vamos a:
22

3-
Deployment to AWS will be covered in the future.
3+
1. Entrenar un modelo de sklearn
4+
5+
2. Exportarlo usando pickle
6+
7+
3. Construir una API con FastAPI
8+
9+
4. Desplegar la API usando un contendor de Docker
410

5-
To follow this post, you should be familiar with:
6-
7-
1. Scikit-learn
8-
2. Docker
9-
3. Basics of an API
10-
11-
# Training the model
11+
# Instrucciones
1212

13+
```
14+
git clone https://github.com/albertotb/sklearn_fastapi_docker.git
15+
cd sklearn_fastapi_docker
16+
docker build -t myapi .
17+
docker run -d --name myapicontainer -p 80:80 myapi
18+
```
1319

1420
# Referencias
1521

0 commit comments

Comments
 (0)