gts-holmirdas/Dockerfile
matthias 5632a3d641 Initial release: GTS-HolMirDas v1.0
RSS-based content discovery for GoToSocial instances.

Features:
- Multi-instance RSS feed processing
- Docker deployment with .env configuration
- Comprehensive statistics and monitoring
- Production-ready with proper secret management
2025-07-29 12:02:33 +02:00

24 lines
476 B
Docker

# Dockerfile
FROM python:3.11-slim
# Set working directory
WORKDIR /app
# Copy and install requirements
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Create data directory
RUN mkdir -p /app/data
# Create non-root user
RUN useradd -r -u 1000 holmirdas
# Set ownership
RUN chown -R holmirdas:holmirdas /app
# Switch to non-root user
USER holmirdas
# Default command (will be overridden by docker-compose)
CMD ["python", "gts_holmirdas.py"]