first com2

This commit is contained in:
2026-04-08 17:10:36 +07:00
parent 8a597f880f
commit fc45816eba
34 changed files with 1310 additions and 29 deletions

24
Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
FROM python:3.13-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements first for better layer caching
COPY requirements.txt .
# Install Python dependencies
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
# Copy entrypoint script
COPY entrypoints/startup.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
# Copy application code (will be overridden by volume mount in development)
COPY . .
ENTRYPOINT ["/entrypoint.sh"]