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