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

FROM haskell:9.4

# pack up dependencies for other common parts of the workflow
RUN apt -y update && apt -y install yarnpkg git && rm -fr /var/cache/apt

WORKDIR /opt/reploy

COPY . .

RUN cabal update
RUN cabal install

WORKDIR /data
COPY assets /data/assets/
COPY templates /data/templates/
COPY pages /data/pages/
ENTRYPOINT ["/root/.cabal/bin/site"]