ats-resume-optimizer / Dockerfile
Salim Shaikh
Fix Dockerfile: install from requirements.txt (adds anthropic, spacy, PyMuPDF)
899d045
raw
history blame contribute delete
563 Bytes
FROM python:3.10-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
build-essential \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements first for better caching
COPY requirements.txt .
# Install Python dependencies from requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
# Install Gradio and HuggingFace Hub
RUN pip install --no-cache-dir gradio==4.19.2 huggingface_hub==0.20.3
# Copy application code
COPY app.py .
# Expose port
EXPOSE 7860
# Run the application
CMD ["python", "app.py"]