aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: d43c43eb8586996755d6409f4ea6a59df763c417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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", "--"]