mirror of
https://github.com/iritmaximus/haskell.git
synced 2026-10-12 19:13:39 +03:00
Added dockerfile to run haskell from a windows machine
This commit is contained in:
+11
@@ -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"]
|
||||
Reference in New Issue
Block a user