File size: 471 Bytes
ee19447
0f29960
 
ee19447
 
0f29960
137d1e0
ee19447
0f29960
 
137d1e0
 
 
cd609e4
 
 
 
197ce2c
ee19447
0f29960
ee19447
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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"]