]> Git — Sourcephile - gargantext.git/blob - devops/docker/Dockerfile-ihaskell
[VERSION] +1 to 0.0.6.4
[gargantext.git] / devops / docker / Dockerfile-ihaskell
1 FROM gibiansky/ihaskell
2
3 USER 0
4
5 # gargantext stuff
6 RUN apt-get update && \
7 apt-get install -y libblas-dev \
8 libbz2-dev \
9 libcairo2-dev \
10 libgsl-dev \
11 liblapack-dev \
12 liblzma-dev \
13 libmagic-dev \
14 libpq-dev \
15 librust-pangocairo-dev \
16 lzma-dev \
17 libzmq3-dev \
18 pkg-config && \
19 rm -rf /var/lib/apt/lists/*
20
21 # ADD . /home/joyvan/src
22 # RUN chown -R 1000 /home/joyvan/src
23
24 USER 1000
25
26 # WORKDIR /home/joyvan/src
27 # RUN stack install --fast
28
29 RUN stack install aeson aeson-lens aeson-pretty array \
30 blaze-html blaze-markup bytestring \
31 conduit conduit-extra containers \
32 deepseq directory duckling \
33 ekg-core ekg-json exceptions \
34 fgl filepath formatting \
35 hashable hsparql http-api-data http-client http-client-tls http-conduit \
36 ini json-stream lens monad-control monad-logger \
37 morpheus-graphql morpheus-graphql-app morpheus-graphql-core morpheus-graphql-subscriptions \
38 mtl natural-transformation opaleye pandoc parallel parsec rdf4h \
39 postgresql-simple profunctors protolude semigroups \
40 servant servant-auth servant-auth-swagger servant-server \
41 tagsoup template-haskell time transformers transformers-base \
42 tuple unordered-containers uuid vector \
43 wai wai-app-static wai-cors wai-extra wai-websockets warp wreq \
44 xml-conduit xml-types yaml zip zlib --fast
45
46 #CMD ["jupyter", "notebook", "--ip", "0.0.0.0"]
47 CMD ["stack", "exec", "jupyter", "--", "notebook", "--ip", "0.0.0.0"]
48