summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile2
-rw-r--r--estatico.cabal3
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 <m.i@gmx.at>"
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