Spaces:
Running
Running
Update Dockerfile
Browse files2 unmodified lines345678910117 unmodified lines19202122232425262728292 unmodified lines# Install system dependencies including FFmpegRUN apt-get update && \apt-get install -y --no-install-recommends \ffmpeg \&& rm -rf /var/lib/apt/lists/*chmod 777 temp_files# Set working directoryWORKDIR /app7 unmodified lines# Copy application codeCOPY . .# Create directory for temporary filesRUN mkdir -p temp_files# Expose the port the app runs onEXPOSE 8000# Command to run the applicationCMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]2 unmodified lines3456789107 unmodified lines18192021222324252627282 unmodified lines# Install system dependencies including FFmpegRUN apt-get update && \apt-get install -y --no-install-recommends \ffmpeg && \rm -rf /var/lib/apt/lists/*# Set working directoryWORKDIR /app7 unmodified lines# Copy application codeCOPY . .# Create directory for temporary files and set permissionsRUN mkdir -p temp_files && chmod 777 temp_files# Expose the port the app runs on (change to 7860 if needed)EXPOSE 8000# Command to run the application on port 7860CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
Dockerfile+7-8