Rename Dockerfile.bak to Dockerfile
Browse files1234567891011121314151617# Use Python base imageFROM python:3.9# Set working directoryWORKDIR /app# Copy current files into containerCOPY . /app# Install dependencies from requirements.txtRUN pip install --no-cache-dir -r requirements.txt# Expose default portEXPOSE 7860# Run with GunicornCMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]123456789101112131415FROM python:3.9-slimWORKDIR /appCOPY . /app# Instala dependencias del sistemaRUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/*# Instala las Python depsRUN pip install --no-cache-dir -r requirements.txtEXPOSE 7860CMD ["gunicorn", "-w", "4", "-b", "0.0.0.0:7860", "app:app"]
Dockerfile.bak → DockerfileRenamed+5-7