ftiiii commited on
Commit
3f097e5
·
verified ·
1 Parent(s): 2c2f938

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -6
Dockerfile CHANGED
@@ -5,18 +5,20 @@
5
  # Base image Python nhẹ và ổn định
6
  FROM python:3.10-slim
7
 
8
- # Tránh interactive prompts và reduce layer size
9
  ENV DEBIAN_FRONTEND=noninteractive
10
  ENV PYTHONUNBUFFERED=1
11
- ENV MPLBACKEND=Agg # Matplotlib backend không GUI
 
 
12
 
13
  # Cài dependencies hệ thống cần thiết
14
  RUN apt-get update && \
15
  apt-get install -y --no-install-recommends \
16
- ffmpeg \
17
- libsndfile1 \
18
- build-essential \
19
- wget \
20
  && rm -rf /var/lib/apt/lists/*
21
 
22
  # Copy code vào container
 
5
  # Base image Python nhẹ và ổn định
6
  FROM python:3.10-slim
7
 
8
+ # Tránh interactive prompts và output Python buffer
9
  ENV DEBIAN_FRONTEND=noninteractive
10
  ENV PYTHONUNBUFFERED=1
11
+
12
+ # Matplotlib backend không GUI
13
+ ENV MPLBACKEND=Agg
14
 
15
  # Cài dependencies hệ thống cần thiết
16
  RUN apt-get update && \
17
  apt-get install -y --no-install-recommends \
18
+ ffmpeg \
19
+ libsndfile1 \
20
+ build-essential \
21
+ wget \
22
  && rm -rf /var/lib/apt/lists/*
23
 
24
  # Copy code vào container