From 877b176945be2db69ed417f48a3b54bfe8055a66 Mon Sep 17 00:00:00 2001 From: Aaro Koivukangas Date: Thu, 11 Jan 2024 09:33:34 +0200 Subject: [PATCH] Added dockerfile to run haskell from a windows machine --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0edda67 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM haskell:9.8.1-slim + +WORKDIR /usr/src/app +COPY exercises/stack.yaml* /usr/src/app +COPY exercises/tests.cabal /usr/src/app +RUN stack build + +COPY exercises /usr/src/app + +# modify next line to change the wanted exercise +CMD ["stack", "runhaskell", "Set3aTest.hs"] \ No newline at end of file