added concordia preprocessor
This commit is contained in:
parent
6996b5829d
commit
09a8a043ae
20
concordia-preprocessor/Dockerfile
Normal file
20
concordia-preprocessor/Dockerfile
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
FROM ubuntu:16.04
|
||||||
|
|
||||||
|
|
||||||
|
# Set the locale
|
||||||
|
RUN apt-get update && apt-get install -y locales software-properties-common
|
||||||
|
RUN sed -i -e 's/# pl_PL.UTF-8 UTF-8/pl_PL.UTF-8 UTF-8/' /etc/locale.gen && locale-gen
|
||||||
|
ENV LANG pl_PL.UTF-8
|
||||||
|
ENV LANGUAGE pl_PL:pl
|
||||||
|
ENV LC_ALL pl_PL.UTF-8
|
||||||
|
|
||||||
|
RUN add-apt-repository 'deb http://sgjp.pl/apt/ubuntu-xenial xenial main' && apt-get update
|
||||||
|
RUN apt-get install --allow-unauthenticated -y git python3 python3-pip morfeusz2
|
||||||
|
RUN pip3 install requests
|
||||||
|
|
||||||
|
COPY python3-morfeusz2_0.4.0-1_amd64.deb /
|
||||||
|
RUN dpkg -i python3-morfeusz2_0.4.0-1_amd64.deb
|
||||||
|
|
||||||
|
RUN git clone https://git.wmi.amu.edu.pl/rjawor/concordia-preprocessor.git
|
||||||
|
|
||||||
|
#CMD /usr/sbin/nginx -g "daemon on;" && sleep 4 && sh concordia-server/scripts/simplestart.sh
|
BIN
concordia-preprocessor/python3-morfeusz2_0.4.0-1_amd64.deb
Normal file
BIN
concordia-preprocessor/python3-morfeusz2_0.4.0-1_amd64.deb
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user