This commit is contained in:
2025-09-10 08:29:04 -04:00
parent 4e786d775b
commit 6f356b1942
5 changed files with 41 additions and 7 deletions
+8
View File
@@ -1,8 +1,16 @@
FROM python:3.11-slim
# Build arguments for version tagging
ARG BUILD_TYPE=production
ARG IMAGE_TAG=latest
# Set working directory
WORKDIR /app
# Set environment variables for version detection
ENV BUILD_TYPE=${BUILD_TYPE}
ENV IMAGE_TAG=${IMAGE_TAG}
# Single layer for all system setup to minimize image size
RUN apt-get update && apt-get install -y --no-install-recommends \
sqlite3 curl gosu \