all demo
This commit is contained in:
18
compose/themes_generator/Dockerfile
Normal file
18
compose/themes_generator/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM openjdk:11
|
||||
COPY --from=python:3.7 / /
|
||||
|
||||
WORKDIR /app/
|
||||
ADD ./app /app/
|
||||
|
||||
RUN set -ex \
|
||||
&& pip3 install --no-cache-dir -r /app/requirements.txt \
|
||||
&& chmod +x /app/mallet/bin/* \
|
||||
&& apt-get update \
|
||||
&& apt install ant -y \
|
||||
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/* \
|
||||
&& cd /app/mallet/ \
|
||||
&& ant
|
||||
|
||||
ENTRYPOINT ["python3", "clustering_server.py"]
|
||||
|
||||
EXPOSE 5000
|
||||
51
compose/themes_generator/requirements.txt
Normal file
51
compose/themes_generator/requirements.txt
Normal file
@@ -0,0 +1,51 @@
|
||||
beautifulsoup4==4.8.2
|
||||
boto3==1.12.32
|
||||
botocore==1.15.32
|
||||
bottle==0.12.18
|
||||
cachetools==4.0.0
|
||||
certifi==2019.11.28
|
||||
chardet==3.0.4
|
||||
cheroot==8.3.0
|
||||
CherryPy==8.9.1
|
||||
docutils==0.15.2
|
||||
gensim==3.8.1
|
||||
google-api-core==1.16.0
|
||||
google-auth==1.12.0
|
||||
google-cloud-core==1.3.0
|
||||
google-cloud-storage==1.26.0
|
||||
google-resumable-media==0.5.0
|
||||
googleapis-common-protos==1.51.0
|
||||
idna==2.9
|
||||
importlib-metadata==1.6.0
|
||||
importlib-resources==1.4.0
|
||||
jaraco.classes==3.1.0
|
||||
jaraco.collections==3.0.0
|
||||
jaraco.functools==3.0.0
|
||||
jaraco.text==3.2.0
|
||||
jmespath==0.9.5
|
||||
lxml==4.5.0
|
||||
more-itertools==8.2.0
|
||||
nltk==3.4.5
|
||||
numexpr==2.7.1
|
||||
numpy==1.18.2
|
||||
pandas==1.0.3
|
||||
portend==2.6
|
||||
protobuf==3.11.3
|
||||
psycopg2-binary==2.8.4
|
||||
pyasn1==0.4.8
|
||||
pyasn1-modules==0.2.8
|
||||
pymystem3==0.2.0
|
||||
python-dateutil==2.8.1
|
||||
pytz==2019.3
|
||||
requests==2.23.0
|
||||
rsa==4.0
|
||||
s3transfer==0.3.3
|
||||
scipy==1.4.1
|
||||
six==1.14.0
|
||||
smart-open==1.10.0
|
||||
soupsieve==2.0
|
||||
tables==3.6.1
|
||||
tempora==3.0.0
|
||||
urllib3==1.25.8
|
||||
zc.lockfile==2.0
|
||||
zipp==3.1.0
|
||||
Reference in New Issue
Block a user