hastatic/Dockerfile

7 lines
215 B
Docker
Raw Normal View History

2018-07-21 09:12:42 +05:30
FROM haskell:8.4.3 as builder
WORKDIR /opt/hastatic
ADD . .
RUN stack install && strip /root/.local/bin/hastatic
FROM fpco/haskell-scratch:integer-gmp
COPY --from=builder /root/.local/bin/hastatic /usr/bin/hastatic