Update Dockerfile
Browse files- Dockerfile +10 -7
Dockerfile
CHANGED
@@ -6,19 +6,22 @@ ENV PYTHONUNBUFFERED=1
|
|
6 |
ENV DEBIAN_FRONTEND=noninteractive
|
7 |
|
8 |
# Install system dependencies including ffmpeg and fonts
|
9 |
-
# Using ttf-mscorefonts-installer for Arial and other common Microsoft fonts
|
10 |
-
# fontconfig is needed to make fonts available to applications
|
11 |
RUN apt-get update && \
|
12 |
apt-get install -y --no-install-recommends \
|
13 |
ffmpeg \
|
14 |
libsm6 \
|
15 |
libxext6 \
|
16 |
fontconfig \
|
17 |
-
debconf-utils
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
|
|
|
|
|
|
|
|
|
|
22 |
apt-get clean && \
|
23 |
rm -rf /var/lib/apt/lists/*
|
24 |
|
|
|
6 |
ENV DEBIAN_FRONTEND=noninteractive
|
7 |
|
8 |
# Install system dependencies including ffmpeg and fonts
|
|
|
|
|
9 |
RUN apt-get update && \
|
10 |
apt-get install -y --no-install-recommends \
|
11 |
ffmpeg \
|
12 |
libsm6 \
|
13 |
libxext6 \
|
14 |
fontconfig \
|
15 |
+
debconf-utils
|
16 |
+
|
17 |
+
# Pre-accept Microsoft Core Fonts EULA
|
18 |
+
RUN echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-sections
|
19 |
+
|
20 |
+
# Install Microsoft Core Fonts
|
21 |
+
RUN apt-get install -y --no-install-recommends ttf-mscorefonts-installer
|
22 |
+
|
23 |
+
# Update font cache and clean up
|
24 |
+
RUN fc-cache -f -v && \
|
25 |
apt-get clean && \
|
26 |
rm -rf /var/lib/apt/lists/*
|
27 |
|