Spaces:
Sleeping
Sleeping
# Base image | |
FROM python:3.9 | |
# Set working directory | |
WORKDIR /code | |
COPY ./requirements.txt /code/requirements.txt | |
# Copy requirements file and install dependencies | |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
COPY . . | |
# create folder inside code folder | |
RUN mkdir -p /code/storage/bm25 | |
RUN mkdir -p /code/storage/kg | |
# Copy application code | |
# Set the command to run the app | |
CMD ["streamlit", "run", "streamlit_app.py", "--server.port", "7860"] |