-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile_zol3
More file actions
23 lines (20 loc) · 934 Bytes
/
Dockerfile_zol3
File metadata and controls
23 lines (20 loc) · 934 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ubuntu:20.04
LABEL email="bonhyeon.gu@9bon.org"
LABEL name="BonhyeonGu"
WORKDIR /usr/src/app
RUN apt-get update
RUN apt-get install -y git wget p7zip p7zip-full
RUN apt-get install -y python3 python3-pip
RUN pip3 install flask neo4j pymongo numpy
RUN git clone https://github.com/BonhyeonGu/ShowPoolWeb_Recommendation re
WORKDIR /usr/src/app/re
RUN wget https://github.com/BonhyeonGu/Reasoning_over_Knowledge_Component_Streams/releases/download/v1.0.0/ComTittleToID.pkl
RUN wget https://github.com/BonhyeonGu/Reasoning_over_Knowledge_Component_Streams/releases/download/v1.0.0/backlinksZip.7z.001
RUN wget https://github.com/BonhyeonGu/Reasoning_over_Knowledge_Component_Streams/releases/download/v1.0.0/backlinksZip.7z.002
RUN 7z x backlinksZip.7z.001 -aoa
RUN rm backlinksZip.7z.001
RUN rm backlinksZip.7z.002
RUN mkdir backlinks
RUN python3 unzipBacklinks.py
COPY secret.py ./secret/db.py
ENTRYPOINT [ "python3", "app.py" ]