Spaces:
Sleeping
Sleeping
File size: 500 Bytes
6c7823c 2108804 d46bc4c 9e8f23e 2108804 6c7823c 9e8f23e 6c7823c 2108804 6c7823c 9e8f23e f2e1660 6c7823c d46bc4c 2108804 9e8f23e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy all project files
COPY . .
# Install Python dependencies system-wide
RUN pip install --upgrade pip && pip install -r requirement.txt
# Create ChromaDB persistence directory
RUN mkdir -p /app/data_ingetion/chroma_storage
# Expose FastAPI and Streamlit ports
EXPOSE 8000
EXPOSE 8501
# Run FastAPI then Streamlit
CMD uvicorn main_api:app --host 0.0.0.0 --port 8000 & \
streamlit run streamlit_app/app.py --server.port 8501
|