Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -2,7 +2,8 @@ FROM python:3.10-slim
|
|
2 |
|
3 |
# Set environment variables
|
4 |
ENV PYTHONUNBUFFERED=1
|
5 |
-
|
|
|
6 |
|
7 |
# Install system dependencies including ffmpeg and fonts
|
8 |
# Using ttf-mscorefonts-installer for Arial and other common Microsoft fonts
|
@@ -13,7 +14,7 @@ RUN apt-get update && \
|
|
13 |
libsm6 \
|
14 |
libxext6 \
|
15 |
fontconfig \
|
16 |
-
|
17 |
&& echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-sections \
|
18 |
&& apt-get install -y --no-install-recommends ttf-mscorefonts-installer \
|
19 |
&& apt-get clean && \
|
|
|
2 |
|
3 |
# Set environment variables
|
4 |
ENV PYTHONUNBUFFERED=1
|
5 |
+
# Prevents interactive prompts during apt-get install
|
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
|
|
|
14 |
libsm6 \
|
15 |
libxext6 \
|
16 |
fontconfig \
|
17 |
+
# For Microsoft Core Fonts EULA pre-acceptance
|
18 |
&& echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-sections \
|
19 |
&& apt-get install -y --no-install-recommends ttf-mscorefonts-installer \
|
20 |
&& apt-get clean && \
|