CoolFace
Apppublic

Mr-Risov/Telegram_reporting_system

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile27 linesDownload Raw Back to root
1# Use official Python runtime as base image2FROM python:3.9-slim3 4# Set working directory5WORKDIR /app6 7# Install system dependencies8RUN apt-get update && apt-get install -y \9    gcc \10    && rm -rf /var/lib/apt/lists/*11 12# Copy requirements and install Python dependencies13COPY requirements.txt .14RUN pip install --no-cache-dir -r requirements.txt15 16# Copy all application files17COPY . .18 19# Expose port for Flask app20EXPOSE 500021 22# Set environment variables23ENV FLASK_APP=app.py24ENV FLASK_RUN_HOST=0.0.0.025 26# Run the application27CMD ["flask", "run"]