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
|
||||
Reference in New Issue
Block a user