CLAT_Guide / backend /Dockerfile
ashutoshneemval's picture
feat: Initial commit of LexAI (code only)
e4e1bf1
Raw History Blame Contribute Delete
392 Bytes
FROM python:3.10-slim
WORKDIR /app
# Install system compilation packages (needed for psycopg2, sentence-transformers, etc.)
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
libpq-dev \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["python", "main.py"]