medextract / Dockerfile
harsh-dev's picture
docker change mainfile
c2bf6a9
raw
history blame contribute delete
325 Bytes
# Base image (small and stable)
FROM python:3.12-slim
# Set working directory
WORKDIR /app
# Copy requirements
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy project files
COPY . .
# Run app
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]