Astridkraft commited on
Commit
3b9f431
·
verified ·
1 Parent(s): e652b66

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -1
Dockerfile CHANGED
@@ -1,6 +1,16 @@
 
1
  FROM python:3.11-slim
 
2
  WORKDIR /app
 
 
 
 
 
 
3
  COPY requirements.txt .
4
  RUN pip install --no-cache-dir -r requirements.txt
 
5
  COPY . .
6
- CMD ["python", "app.py"]
 
 
1
+ # Verwende eine stabile Python 3.11 Version
2
  FROM python:3.11-slim
3
+
4
  WORKDIR /app
5
+
6
+ # System-Abhängigkeiten für ggf. benötigte Audio-/Multimedia-Bibliotheken installieren
7
+ RUN apt-get update && apt-get install -y --no-install-recommends \
8
+ libsm6 libxext6 libxrender-dev libglib2.0-0 && \
9
+ rm -rf /var/lib/apt/lists/*
10
+
11
  COPY requirements.txt .
12
  RUN pip install --no-cache-dir -r requirements.txt
13
+
14
  COPY . .
15
+
16
+ CMD ["python", "app.py"]