LegalRagBackend / Dockerfile
negi2725's picture
Update Dockerfile
efde56b verified
raw
history blame contribute delete
289 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY . .
# Make start.sh executable (HF needs this)
RUN chmod +x start.sh
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 7860
# Start the server through start.sh (recommended for HF Spaces)
CMD ["bash", "start.sh"]