Navigation Menu

Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
samisalkosuo committed Jan 31, 2018
1 parent 5ad0022 commit 2f71c43
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Expand Up @@ -9,7 +9,7 @@ RUN apk update && apk add ca-certificates && update-ca-certificates
WORKDIR /

#Install Maven
ADD scripts/install_maven.sh .
ADD scripts/image/install_maven.sh .
RUN ["/bin/bash" ,"install_maven.sh","3.5.2"]

#server4dev is for development use
Expand All @@ -23,8 +23,8 @@ RUN mkdir server4dev
ADD server4dev ./server4dev/
RUN PATH=/maven/bin:$PATH && cd server4dev && mvn package

ADD scripts/convert_vocab_fi.py .
ADD scripts/install_findepparser.sh .
ADD scripts/image/convert_vocab_fi.py .
ADD scripts/image/install_findepparser.sh .
#Install Finnish-dep-parser
#Uses fork: https://github.com/samisalkosuo/Finnish-dep-parser
#uses specific commit ID as parameter
Expand All @@ -37,7 +37,7 @@ RUN mkdir server
ADD server ./server/
#ADD server/resources ./server/resources
ADD server/resources ./finwordnet
ADD scripts/package_parserserver.sh .
ADD scripts/image/package_parserserver.sh .
RUN ["/bin/bash" ,"package_parserserver.sh"]

#add modified Finnish dependency parser files
Expand All @@ -51,7 +51,7 @@ ADD server/tag.sh .
ADD server/cut_and_sort.py .

#add java server start script
ADD scripts/start_parser_server.sh .
ADD scripts/image/start_parser_server.sh .

RUN chmod 755 *sh

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.cli
Expand Up @@ -11,7 +11,7 @@

FROM python:2.7-alpine

RUN apk add --update --no-cache bash openjdk8 git wget
RUN apk add --no-cache bash openjdk8 git wget
RUN apk update && apk add ca-certificates && update-ca-certificates

WORKDIR /
Expand All @@ -23,7 +23,7 @@ RUN ./install.sh

ADD test/ test/

ADD scripts/generate_md5.sh .
ADD scripts/image/generate_md5.sh .
RUN chmod 755 generate_md5.sh

RUN ls -1 test/ | awk '{print "echo generateMD5 test/" $1 " >> generate_md5.sh"}' | sh
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.simpleserver
Expand Up @@ -19,6 +19,6 @@ WORKDIR Finnish-dep-parser

RUN ./install.sh

ADD webserver.py .
ADD scripts/image/webserver.py .

CMD ["python","webserver.py"]

0 comments on commit 2f71c43

Please sign in to comment.