From 9b9f837e94ff2bcc85981811236afcc8dc53b4db Mon Sep 17 00:00:00 2001 From: Ramtin Seraj Date: Wed, 17 May 2017 09:58:06 -0700 Subject: [PATCH] Adding dockerfile for the http server Summary: Closes https://github.com/facebookincubator/duckling/pull/20 Differential Revision: D5078813 Pulled By: patapizza fbshipit-source-id: a8f95ff --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..2743015f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM haskell:8 + +RUN git clone https://github.com/facebookincubator/duckling.git + +RUN mkdir /log + +WORKDIR /duckling + +RUN apt-get update + +RUN apt-get install libpcre3 libpcre3-dev + +RUN stack build + +ENTRYPOINT stack exec duckling-example-exe