diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2023-06-14 21:37:57 +0200 |
|---|---|---|
| committer | Mirek Kratochvil <exa.exa@gmail.com> | 2023-06-14 22:14:39 +0200 |
| commit | 60748682760e5189e7b0701e00783c9fe9f9910e (patch) | |
| tree | c360054baf10bebebb5cbac488728e105c4de89a /Dockerfile | |
| parent | 28e147e0b26a7c99be44e3627de8f828d5e9bf3d (diff) | |
| download | reploy-60748682760e5189e7b0701e00783c9fe9f9910e.tar.gz reploy-60748682760e5189e7b0701e00783c9fe9f9910e.tar.bz2 | |
build dockers
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 19 |
1 files changed, 19 insertions, 0 deletions
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", "--"] |
