Aissistant2 commited on
Commit
a5341db
·
verified ·
1 Parent(s): 33e0093

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -1,8 +1,12 @@
1
- FROM python:3.11-slim
2
 
3
  WORKDIR /app
4
 
5
- RUN pip install --no-cache-dir flask requests
 
 
 
 
6
 
7
  COPY app.py /app/app.py
8
 
 
1
+ FROM python:3.11-bookworm
2
 
3
  WORKDIR /app
4
 
5
+ RUN apt-get update && apt-get install -y --no-install-recommends \
6
+ ca-certificates \
7
+ && rm -rf /var/lib/apt/lists/*
8
+
9
+ RUN pip install --no-cache-dir certifi
10
 
11
  COPY app.py /app/app.py
12