updates
This commit is contained in:
+5
-2
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user