This commit is contained in:
2025-08-07 12:43:38 -07:00
commit f41316c8cf
5 changed files with 354 additions and 0 deletions

24
Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
# Use official Python 3.10 slim image
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
libsqlite3-dev \
&& rm -rf /var/lib/apt/lists/*
# Copy and install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application files
COPY .env.example ./
COPY main.py ./
# Set container permissions
RUN chmod +x main.py
# Command to run the application
ENTRYPOINT ["python", "main.py"]