Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Alina Lozovskaya
commited on
Commit
•
d8e3a09
1
Parent(s):
c006f60
Update python to 3.12
Browse files- Dockerfile +1 -1
- backend/Dockerfile.dev +1 -1
- backend/pyproject.toml +1 -1
Dockerfile
CHANGED
@@ -8,7 +8,7 @@ COPY frontend/ ./
|
|
8 |
RUN npm run build
|
9 |
|
10 |
# Build backend
|
11 |
-
FROM python:3.
|
12 |
WORKDIR /app
|
13 |
|
14 |
# Create non-root user
|
|
|
8 |
RUN npm run build
|
9 |
|
10 |
# Build backend
|
11 |
+
FROM python:3.12-slim
|
12 |
WORKDIR /app
|
13 |
|
14 |
# Create non-root user
|
backend/Dockerfile.dev
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM python:3.
|
2 |
|
3 |
WORKDIR /app
|
4 |
|
|
|
1 |
+
FROM python:3.12-slim
|
2 |
|
3 |
WORKDIR /app
|
4 |
|
backend/pyproject.toml
CHANGED
@@ -5,7 +5,7 @@ description = "Backend for the Open LLM Leaderboard"
|
|
5 |
authors = ["Your Name <[email protected]>"]
|
6 |
|
7 |
[tool.poetry.dependencies]
|
8 |
-
python = "^3.
|
9 |
fastapi = "^0.115.6"
|
10 |
uvicorn = {extras = ["standard"], version = "^0.34.0"}
|
11 |
numpy = "^2.2.0"
|
|
|
5 |
authors = ["Your Name <[email protected]>"]
|
6 |
|
7 |
[tool.poetry.dependencies]
|
8 |
+
python = "^3.12"
|
9 |
fastapi = "^0.115.6"
|
10 |
uvicorn = {extras = ["standard"], version = "^0.34.0"}
|
11 |
numpy = "^2.2.0"
|