Initial vibe-coded commit.

This commit is contained in:
Discsearcher
2026-08-16 11:00:12 -04:00
commit 85e6af0b7d
14 changed files with 1410 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
FROM python:3.11-slim
WORKDIR /app
# Install git (required for cloning and pulling repositories)
RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
# Copy requirements and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY app.py .
COPY templates/ ./templates/
COPY static/ ./static/
# Create necessary directories
RUN mkdir -p /data /config
# Expose port
EXPOSE 5000
# Health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD python -c "import urllib.request; urllib.request.urlopen('http://localhost:5000/api/status').read()"
# Run the application
CMD ["python", "app.py"]