Created
April 5, 2021 08:07
-
-
Save GoNZooo/2f4cae47e329cdda6e7a88ef558acee8 to your computer and use it in GitHub Desktop.
Basic development container for Yesod projects & VSCode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"dockerFile": "Dockerfile", | |
"forwardPorts": [ | |
3000 | |
], | |
"extensions": [ | |
"sjurmillidahl.ormolu-vscode", | |
"dramforever.vscode-ghc-simple", | |
"lunaryorn.hlint", | |
"bigmoon.language-yesod", | |
"gonzooo.at-notes" | |
], | |
"settings": { | |
"[haskell]": { | |
"editor.tabSize": 2, | |
"editor.formatOnSave": true, | |
"editor.defaultFormatter": "sjurmillidahl.ormolu-vscode", | |
"editor.renderIndentGuides": true | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM fpco/stack-build:lts-16.31 | |
RUN apt update && apt install -y inotify-tools | |
RUN stack --resolver lts-16.31 install yesod-bin | |
RUN stack --resolver lts-16.31 install ormolu | |
RUN stack --resolver lts-16.31 install hlint |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment