<filename>Dockerfile
FROM kobx/ghc-7.8
MAINTAINER <NAME>
RUN cabal update
ADD src /app/src
ADD detexify-hs-backend.cabal /app/
WORKDIR /app/
RUN cabal sandbox init
RUN cabal install --only-dependencies
RUN cabal build
RUN mv /app/dist/build/detexify-hs-backend/detexify-hs-backend /app/
ADD snapshot.json /app/
EXPOSE 3000
CMD /app/detexify-hs-backend
