Files

21 lines
417 B
Docker

FROM python:3.14-slim
# Set working directory
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY inboxconverge.py .
# Create non-root user for security
RUN useradd -m -u 1000 inboxconverge && \
chown -R inboxconverge:inboxconverge /app
USER inboxconverge
# Run the application
CMD ["python", "-u", "inboxconverge.py"]