From 60748682760e5189e7b0701e00783c9fe9f9910e Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Wed, 14 Jun 2023 21:37:57 +0200 Subject: build dockers --- Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d43c43e --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ + +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 ["cabal", "run", "site", "--"] -- cgit v1.2.3