Add docker build

This commit is contained in:
2020-03-24 21:55:33 +01:00
parent 63f290107c
commit 99941bc2a1
2 changed files with 59 additions and 0 deletions

14
docker/build.sh Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
set -ex
cd /app
cabal v2-update
cabal v2-install \
--install-method=copy \
--overwrite-policy=always \
--installdir="/bin" \
--ghc-options='-optl-static'