Spaces:
Sleeping
Sleeping
File size: 338 Bytes
ca9d25a 6cd572f ca9d25a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
FROM python:3.13-slim
# Create user to avoid running as root
RUN useradd -m -u 1000 user
# Install dependencies
COPY --chown=user requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY --chown=user . .
# Run the application
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |