forked from LexPredict/openedgar
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
24 lines (21 loc) · 852 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
from ubuntu:16.04
RUN apt -y update
RUN apt -y upgrade
RUN apt -y install libssl-dev openssl make gcc
RUN apt -y install wget
RUN apt -y install build-essential python3-dev python3-pip virtualenv
RUN apt -y install build-essential virtualenv
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata
RUN apt -y update
RUN apt -y install openjdk-8-jdk
RUN apt -y install git
RUN apt -y install vim
RUN echo "Building OpenEdgar from source................"
COPY ./ /opt/openedgar
RUN cd /opt/openedgar && virtualenv -p /usr/bin/python3 env
RUN cd /opt/openedgar && ./env/bin/pip install -r lexpredict_openedgar/requirements/full.txt
COPY sample.env /opt/openedgar/lexpredict_openedgar/.env
COPY entrypoint.sh /opt/openedgar/entrypoint.sh
RUN chmod a+x /opt/openedgar/entrypoint.sh
ENTRYPOINT ["/opt/openedgar/entrypoint.sh"]
WORKDIR /opt/openedgar