Added dockerfile to run haskell from a windows machine

This commit is contained in:
Aaro Koivukangas
2024-01-11 09:33:34 +02:00
parent 6cafb4d329
commit 877b176945
+11
View File
@@ -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"]