diff --git a/Dockerfile b/Dockerfile index 0046f5c..68dfc3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ FROM python:3.8 -WORKDIR /janet_backend +WORKDIR /backend -COPY requirements.txt . +COPY requirements_main.txt . -RUN pip install -r requirements.txt +RUN pip install -r requirements_main.txt COPY . . diff --git a/requirements_main.txt b/requirements_main.txt new file mode 100644 index 0000000..fb97dd9 --- /dev/null +++ b/requirements_main.txt @@ -0,0 +1,38 @@ +faiss-gpu==1.7.2 +Flask==1.1.4 +flask-cors==3.0.10 +protobuf==3.20.0 +matplotlib==3.5.3 +nltk==3.7 +numpy==1.22.4 +pandas==1.3.5 +PyPDF2==3.0.1 +pdfquery +html2text +regex==2022.6.2 +requests==2.25.1 +scikit-learn==1.0.2 +scipy==1.7.3 +sentencepiece==0.1.97 +sklearn-pandas==1.8.0 +spacy==3.4.4 +spacy-alignments==0.9.0 +spacy-legacy==3.0.12 +spacy-loggers==1.0.4 +spacy-transformers==1.1.9 +spacy-experimental==0.6.2 +torch @ https://download.pytorch.org/whl/cu116/torch-1.13.1%2Bcu116-cp38-cp38-linux_x86_64.whl +torchaudio @ https://download.pytorch.org/whl/cu116/torchaudio-0.13.1%2Bcu116-cp38-cp38-linux_x86_64.whl +torchsummary==1.5.1 +torchtext==0.14.1 +sentence-transformers +torchvision @ https://download.pytorch.org/whl/cu116/torchvision-0.14.1%2Bcu116-cp38-cp38-linux_x86_64.whl +tqdm==4.64.1 +transformers +markupsafe==2.0.1 +psycopg2==2.9.5 +en-coreference-web-trf @ https://github.com/explosion/spacy-experimental/releases/download/v0.6.1/en_coreference_web_trf-3.4.0a2-py3-none-any.whl +Werkzeug==1.0.1 + + +