Create dockerfile
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344FROM python:3.13
# Install system dependenciesRUN apt-get update && apt-get install -y \ git \ git-lfs \ ffmpeg \ libsm6 \ libxext6 \ cmake \ rsync \ libgl1 \ && rm -rf /var/lib/apt/lists/* \ && git lfs install
# Create user and working directoryRUN useradd -m -u 1000 userWORKDIR /app
# Upgrade pipRUN pip install --no-cache-dir pip -U
# Copy and install YOUR requirements first (with gradio 5.29.0)COPY requirements.txt .RUN pip install --no-cache-dir -r requirements.txt
# Install HF Space runtime depsRUN pip install --no-cache-dir \ "huggingface-hub>=0.30" \ "hf-transfer>=0.1.4" \ "protobuf<4" \ "click<8.1" \ uvicorn \ websockets \ spaces
# Copy app filesCOPY --chown=user . /app
USER user
EXPOSE 7860
CMD ["python", "app.py"]dockerfileAdded+44