aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 0c074d9b8093e9cc204207a99baba72b775ea223 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

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/
COPY policies /data/policies/
ENTRYPOINT ["/root/.cabal/bin/site"]