CourtIQ / Dockerfile
Ryan
fix Dockerfile merge conflict
6dd1e0d
Raw History Blame Contribute Delete
339 Bytes
FROM python:3.11-slim
RUN apt-get update && apt-get install -y libgomp1 && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY backend/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY model_export/ ./model_export/
COPY backend/ ./backend/
WORKDIR /app/backend
EXPOSE 7860
ENV PORT=7860
CMD ["python", "app.py"]