diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2023-07-19 20:36:50 +0200 |
|---|---|---|
| committer | Mirek Kratochvil <exa.exa@gmail.com> | 2023-07-19 20:39:41 +0200 |
| commit | 614054a72e41af9e77964c01b7ab0da7dc5b27fb (patch) | |
| tree | 888ab379d6852342d99f041fa5b09f4a5ece2d49 /Dockerfile | |
| parent | 0e717b5dda55602aa3ef34991f9c7dd8762c678b (diff) | |
| download | reploy-614054a72e41af9e77964c01b7ab0da7dc5b27fb.tar.gz reploy-614054a72e41af9e77964c01b7ab0da7dc5b27fb.tar.bz2 | |
make the contents completely generic
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"] |
