diff options
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,19 +1,18 @@ FROM haskell:9.4 +# pack up dependencies for other common parts of the workflow +RUN apt -y update && apt -y install yarnpkg git && rm -fr /var/cache/apt + WORKDIR /opt/reploy -COPY reploy.cabal cabal.project /opt/reploy/ -COPY mustache/ /opt/reploy/mustache/ +COPY . . RUN cabal update -RUN cabal build --only-dependencies - -COPY *.hs README.md /opt/reploy/ RUN cabal install WORKDIR /data COPY assets /data/assets/ COPY templates /data/templates/ -COPY cards /data/cards/ +COPY pages /data/pages/ ENTRYPOINT ["/root/.cabal/bin/site"] |
