Icd-cpt-coding-api / Dockerfile
Distopia22's picture
Initial commit: ICD-CPT Coding API
1441b40
raw
history blame contribute delete
331 Bytes
FROM python:3.11-slim
WORKDIR /app
# Copy requirements first for better caching
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy the entire project
COPY . .
# Expose port 7860 (Hugging Face Spaces default)
EXPOSE 7860
# Run the application
CMD ["python", "src/main.py"]