Skip to content

Commit 83da43d

Browse files
committed
Add haskell-stack-web
1 parent 8b8b3dc commit 83da43d

File tree

3 files changed

+42
-0
lines changed

3 files changed

+42
-0
lines changed

haskell-stack-web/Dockerfile

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM eyeinsky/dockers:haskell-stack-base
2+
3+
RUN apt-get install -y libssl-dev cabal-install && \
4+
apt-get clean
5+
6+
ADD app.cabal /app/app.cabal
7+
WORKDIR /app
8+
9+
RUN stack setup
10+
RUN stack build

haskell-stack-web/app.cabal

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: app
2+
version: 0.1.0.0
3+
license: BSD3
4+
category: Web
5+
build-type: Simple
6+
cabal-version: >=1.10
7+
8+
library
9+
hs-source-dirs: src
10+
exposed-modules: Lib
11+
build-depends: base >= 4.7 && < 5
12+
, mtl, bytestring, text
13+
, lens, optparse-applicative, template-haskell
14+
-- web
15+
, wai, wai-logger, wai-extra, http-types
16+
, warp
17+
, blaze-html, blaze-markup
18+
, base64-bytestring
19+
, HsOpenSSL
20+
, data-default-class
21+
, web-routes, boomerang, web-routes-boomerang
22+
, mime-types
23+
, http-common
24+
, http-streams
25+
, mwc-random
26+
, io-streams
27+
, cookie
28+
, file-embed
29+
, mmorph
30+
, network-simple
31+
default-language: Haskell2010

haskell-stack-web/build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docker build -t eyeinsky/dockers:haskell-stack-web .

0 commit comments

Comments
 (0)