Skip to content

Commit

Permalink
add call to duckling a subprocess instead of sibling docker
Browse files Browse the repository at this point in the history
  • Loading branch information
fmigneault committed Dec 9, 2023
1 parent fedaa20 commit 0d93ef7
Show file tree
Hide file tree
Showing 5 changed files with 133 additions and 100 deletions.
10 changes: 9 additions & 1 deletion nlp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@ RUN cd heideltime && \
rmdir heideltime-standalone && \
rm heideltime-standalone-2.2.1.tar.gz

# Setup Haskell for Duckling server
# https://github.com/facebook/duckling
RUN curl -sSL https://get.haskellstack.org/ | sh && \
git clone https://github.com/facebook/duckling && \
cd duckling && \
stack build && \
stack install && \
rm -fr duckling

# Give read&write permission to jenkins for config
RUN chown -R jenkins heideltime

Expand All @@ -46,4 +55,3 @@ RUN chown -R 1000:1000 /opt/conda/pkgs/cache

# specify user because of problem running start-notebook.sh when being root
USER jenkins

Loading

0 comments on commit 0d93ef7

Please sign in to comment.