#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
|