This commit is contained in:
2025-12-27 01:14:47 +01:00
commit 986f3ae5b5
49 changed files with 8278 additions and 0 deletions

26
Dockerfile Normal file
View File

@@ -0,0 +1,26 @@
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
git \
sshpass \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy wsgi.py to root
COPY wsgi.py .
# Copy application
COPY app/ ./app/
# Create necessary directories
RUN mkdir -p /app/test_results /app/static/uploads
EXPOSE 5000
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "4", "--timeout", "300", "wsgi:app"]