Update Dockerfiles to prevent interactive prompts and include timezone data

- Added environment variables to Dockerfiles to set non-interactive mode and configure the timezone to UTC.
- Included installation of `tzdata` in both Dockerfiles to support timezone configuration during the build process.
This commit is contained in:
Jamie Pine
2026-02-02 05:12:11 -08:00
parent 61dabe7382
commit 3ffbdeed89
3 changed files with 10 additions and 0 deletions
+5
View File
@@ -3,12 +3,17 @@
FROM python:3.12-slim
# Prevent interactive prompts during build
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=UTC
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
ffmpeg \
curl \
tzdata \
&& rm -rf /var/lib/apt/lists/*
# Copy backend
+5
View File
@@ -2,6 +2,10 @@
FROM nvidia/cuda:12.1.1-runtime-ubuntu22.04
# Prevent interactive prompts during build
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=UTC
WORKDIR /app
# Install Python 3.12
@@ -14,6 +18,7 @@ RUN apt-get update && apt-get install -y \
python3-pip \
ffmpeg \
curl \
tzdata \
&& rm -rf /var/lib/apt/lists/*
# Set Python 3.12 as default
Binary file not shown.