Added Dockerfile and docker-compose.yaml
This commit is contained in:
parent
4a1ca3d68e
commit
66bcee129b
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -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"]
|
7
docker-compose.yaml
Normal file
7
docker-compose.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
services:
|
||||||
|
haskell-playground:
|
||||||
|
image: saundersp/haskell-playground
|
||||||
|
pull_policy: never
|
||||||
|
build: .
|
||||||
|
volumes:
|
||||||
|
- ./:/home/saundersp/haskell_playground
|
Loading…
x
Reference in New Issue
Block a user