Stripped personal data from development repository
Samo Penic
2019-02-20 83c3f647c35477564b77cbc5b36d37d793d5442a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#THIS IS MASTER DOCKER COINTAINER WITH REQUIREMENTS FOR THE PROJECT
# docker build -t sizif-base .
FROM ubuntu:18.10
 
# Install any needed packages specified in requirements.txt
#RUN apt-get update && apt-get install -y curl gnupg && curl -sL https://deb.nodesource.com/setup_10.x > setup_10.x
#RUN chmod +x setup_10.x && ./setup_10.x &&
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y g++ python3 gcc libffi-dev git libssl-dev libjpeg-dev \
    zlib1g-dev libxml2-dev libzbar0 screen python3-opencv curl gnupg python3-pip\
    texlive-lang-european texlive texlive-latex-extra
RUN curl -sL https://deb.nodesource.com/setup_10.x > setup_10.x
RUN chmod +x setup_10.x && ./setup_10.x && apt-get install -y nodejs && npm install -g bower
# && git clone https://git.penic.eu/r/havoc/berki-parse.git && git clone https://git.penic.eu/r/havoc/sizif-ocr.git
#WORKDIR berki-parse
#RUN python3 ./setup.py install
#WORKDIR ../sizif-ocr
#RUN python3 ./setup.py install
# Set the working directory to /app
WORKDIR /app
# Copy the current directory contents into the container at /app
COPY requirements.txt .
RUN pip3 install -r requirements.txt