Commit 5106328e authored by mateuszg's avatar mateuszg

doc.old removed

parent c8931e8b
Pipeline #211 passed with stage
in 41 seconds
FROM builder AS builder
WORKDIR /tmp
## Supermatrix
COPY supermatrix ./supermatrix
RUN cd supermatrix/build && \
cmake -DCMAKE_BUILD_TYPE=Release .. && \
make -j6 && \
make install DESTDIR="/install" && \
ldconfig
FROM worker-python
RUN apt-get -y update && apt-get install -y \
gettext \
libboost-filesystem-dev \
libboost-iostreams-dev \
libboost-program-options-dev \
libboost-regex-dev \
libboost-system-dev \
libicu-dev \
libgettextpo-dev \
libloki-dev \
libxml++2.6-dev \
r-base \
&& rm -rf /var/lib/apt/lists/*
RUN pip install \
gensim \
joblib \
pyyaml \
rpy2==2.7.2 \
scipy \
sklearn \
sqlalchemy \
xlsxwriter
COPY external/ external/
RUN cd external/ && pip install \
colte-0.1.tar.gz \
corpus2_filtering.tar.gz \
Desifex-4.0.tar.gz \
growdict-0.1.tar.gz
COPY --from=builder /install/usr/ /usr/
# RUN ln /usr/lib/x86_64-linux-gnu/libicuuc.so.57 /usr/lib/x86_64-linux-gnu/libicuuc.so.55 && \
# ln /usr/lib/x86_64-linux-gnu/libicuio.so.57 /usr/lib/x86_64-linux-gnu/libicuio.so.55
# ENV PYTHONPATH="${PYTHONPATH}:/usr/local/lib/python2.7/dist-packages/"
RUN ldconfig
# RUN pwd
COPY workers/ /workers/
COPY init.sh /
# Expose ports.
EXPOSE 5672
ENTRYPOINT ["/init.sh"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment