Bertonlome's picture
Update Dockerfile to launch python_dash_TARS.py with V6 dataset
9c02d5a
raw
history blame contribute delete
469 Bytes
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"]