reploy/Dockerfile

19 lines
355 B
Docker

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"]