yusufgundogdu commited on
Commit
6ae6cec
·
verified ·
1 Parent(s): 6f920e5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -2,11 +2,14 @@ FROM python:3.9-slim
2
 
3
  WORKDIR /app
4
 
5
- # Install dependencies
 
 
 
6
  COPY requirements.txt .
7
  RUN pip install --no-cache-dir -r requirements.txt
8
 
9
- # Copy all files
10
  COPY . .
11
 
12
  EXPOSE 7860
 
2
 
3
  WORKDIR /app
4
 
5
+ # SQLite ve diğer bağımlılıklar
6
+ RUN apt-get update && apt-get install -y sqlite3 && rm -rf /var/lib/apt/lists/*
7
+
8
+ # Gereksinimleri yükle
9
  COPY requirements.txt .
10
  RUN pip install --no-cache-dir -r requirements.txt
11
 
12
+ # Uygulama dosyalarını kopyala
13
  COPY . .
14
 
15
  EXPOSE 7860