diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..de7d7c9 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,4 @@ +.git +.gup +.gitignore +dist diff --git a/Dockerfile b/Dockerfile index 021cc97..16542b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,8 @@ FROM quay.io/np__/haskell MAINTAINER Nicolas Pouillard [https://nicolaspouillard.fr] -RUN apt-get update && apt-get install ${OPTS_APT} git -RUN git clone https://github.com/np/hx /hx -RUN git clone https://github.com/np/hx /hx +#RUN apt-get update && apt-get install ${OPTS_APT} git +ADD . /hx WORKDIR /hx RUN cabal update && cabal install RUN curl -O cmdcheck https://github.com/np/cmdcheck/raw/master/cmdcheck