reploy/Dockerfile
Mirek Kratochvil debe5453ed Revert "preparing to add folder policies containing md of the policies"
This reverts commit 5f213ff3cb.

(This belongs elsewhere)
2023-06-19 10:52:00 +02:00

20 lines
362 B
Docker

FROM haskell:9.4
WORKDIR /opt/reploy
COPY reploy.cabal cabal.project /opt/reploy/
COPY mustache/ /opt/reploy/mustache/
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/
ENTRYPOINT ["/root/.cabal/bin/site"]