This commit is contained in:
Pavel Guzaev
2024-03-09 17:36:50 +05:00
commit 431b4f5cfd
44 changed files with 3239 additions and 0 deletions

View 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