Spaces:
Sleeping
Sleeping
File size: 469 Bytes
a1d1228 c6e7922 20a46f4 a1d1228 20a46f4 9c02d5a 20a46f4 a1d1228 9c02d5a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
FROM python:3.11-slim
WORKDIR /app
# Copy and install dependencies
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
# Copy application files explicitly
COPY python_dash_TARS.py ./
COPY V6 ./V6
COPY assets ./assets
# Expose port 7860 (Hugging Face Spaces default)
EXPOSE 7860
# Run the application with gunicorn
CMD ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", "--threads", "2", "--timeout", "120", "python_dash_TARS:server"]
|