AurelioAguirre commited on
Commit
7974909
·
1 Parent(s): 935acd0

New Dockerfile, still dummy app, testing minimal req file. v2

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -2
  2. requirements.txt +11 -1
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM python:3.9
2
 
3
  # Set working directory
4
  WORKDIR /app
@@ -7,7 +7,7 @@ WORKDIR /app
7
  COPY _requirements.txt .
8
 
9
  # Install dependencies
10
- RUN pip install --no-cache-dir -r _requirements.txt
11
 
12
  # Copy only what's needed
13
  COPY main/ ./main/
 
1
+ FROM python:3.10-slim
2
 
3
  # Set working directory
4
  WORKDIR /app
 
7
  COPY _requirements.txt .
8
 
9
  # Install dependencies
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
 
12
  # Copy only what's needed
13
  COPY main/ ./main/
requirements.txt CHANGED
@@ -1,2 +1,12 @@
1
  fastapi==0.115.5
2
- uvicorn==0.32.1
 
 
 
 
 
 
 
 
 
 
 
1
  fastapi==0.115.5
2
+ uvicorn==0.32.1
3
+ pydantic==2.10.2
4
+ python-dotenv==1.0.1
5
+ PyYAML==6.0.2
6
+ starlette==0.41.3
7
+ typing_extensions==4.12.2
8
+ anyio==4.6.2.post1
9
+ click==8.1.7
10
+ h11==0.14.0
11
+ idna==3.10
12
+ sniffio==1.3.1