recitation-compare / Dockerfile
Hammad712's picture
Update Dockerfile
f09dd6e verified
raw
history blame
311 Bytes
FROM python:3.9-slim
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy your application code
COPY . .
# Expose the port (if needed)
EXPOSE 7060
# Run the app with Uvicorn
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7060"]