From 7862aff2d4190f3f1211de385049b224bbd00c84 Mon Sep 17 00:00:00 2001 From: Miguel Date: Thu, 7 Mar 2019 22:23:23 +0100 Subject: change ghc-options and adapt executable name in Dockerfile --- Dockerfile | 2 +- estatico.cabal | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a3110c1..b9d2265 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,5 +3,5 @@ LABEL maintainer="Michal Idziorek " WORKDIR /estatico COPY ./ /estatico/ RUN stack build -ENTRYPOINT ["stack","run","staticus-exe","--"] +ENTRYPOINT ["stack","run","estatico","--"] CMD [""] diff --git a/estatico.cabal b/estatico.cabal index a65b47f..6c8f18b 100644 --- a/estatico.cabal +++ b/estatico.cabal @@ -42,7 +42,8 @@ executable estatico-exe Paths_estatico hs-source-dirs: app - ghc-options: -threaded -rtsopts -with-rtsopts=-N + --ghc-options: -threaded -rtsopts -with-rtsopts=-N + ghc-options: -O2 build-depends: base >=4.7 && <5 , estatico -- cgit v1.2.3