diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..06e8759 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM haskell:9.2.8-slim-buster + +WORKDIR /home/saundersp/haskell_playground + +RUN cabal update + +COPY . . + +RUN cabal build + +ENTRYPOINT ["cabal", "run"] diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..b376a86 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,7 @@ +services: + haskell-playground: + image: saundersp/haskell-playground + pull_policy: never + build: . + volumes: + - ./:/home/saundersp/haskell_playground