This commit is contained in:
2025-09-12 13:54:29 -04:00
parent 77295cc400
commit 4ef28c3021
5 changed files with 103 additions and 10 deletions
+5 -2
View File
@@ -3,9 +3,12 @@ FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Single layer for all system setup to minimize image size
# Set timezone and install system packages
ENV TZ=America/New_York
RUN apt-get update && apt-get install -y --no-install-recommends \
sqlite3 curl gosu git \
sqlite3 curl gosu git tzdata \
&& ln -snf /usr/share/zoneinfo/$TZ /etc/localtime \
&& echo $TZ > /etc/timezone \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean \
&& groupadd -g 1000 appuser \