duckling/Dockerfile
Julien Odent 17dd70ffe5 Update old github links
Summary: facebookincubator -> facebook

Reviewed By: haoxuany

Differential Revision: D7729114

fbshipit-source-id: 4786b40060e873900c50e3af20be180a573a19ce
2018-04-23 10:15:33 -07:00

21 lines
566 B
Docker

FROM haskell:8
RUN git clone https://github.com/facebook/duckling.git
RUN mkdir /log
WORKDIR /duckling
RUN apt-get update
RUN apt-get install -qq -y libpcre3 libpcre3-dev build-essential --fix-missing --no-install-recommends
RUN stack setup
# NOTE:`stack build` will use as many cores as are available to build
# in parallel. However, this can cause OOM issues as the linking step
# in GHC can be expensive. If the build fails, try specifying the
# '-j1' flag to force the build to run sequentially.
RUN stack build
ENTRYPOINT stack exec duckling-example-exe