axvg commited on
Commit
78ebad8
·
verified ·
1 Parent(s): c0d78bc

add dockerfile

Browse files
Files changed (2) hide show
  1. Dockerfile +13 -0
  2. pyproject.toml +18 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.13-slim
2
+
3
+ WORKDIR /app
4
+
5
+ COPY pyproject.toml .
6
+
7
+ RUN pip install .
8
+
9
+ COPY . .
10
+
11
+ EXPOSE 8000
12
+
13
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
pyproject.toml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "backend-ag"
3
+ version = "2025.04.16"
4
+ dependencies = [
5
+ "fastapi[standard]",
6
+ "numpy",
7
+ "pydantic"
8
+ ]
9
+ requires-python = ">=3.10"
10
+ authors = [
11
+ {name = "Alex Vega", email = "[email protected]"},
12
+ ]
13
+ maintainers = [
14
+ {name = "Alex Vega", email = "[email protected]"},
15
+ ]
16
+ description = "Backend para el proyecto PC1 del curso CC0A2A"
17
+ license = "MIT"
18
+ keywords = ["genetic algorithm", "android", "kotlin", "python"]