Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pbrisbin/docker-heroku-haskell-stack
Build stack-based projects for the Heroku Docker CLI
https://github.com/pbrisbin/docker-heroku-haskell-stack
Last synced: about 2 months ago
JSON representation
Build stack-based projects for the Heroku Docker CLI
- Host: GitHub
- URL: https://github.com/pbrisbin/docker-heroku-haskell-stack
- Owner: pbrisbin
- Created: 2016-01-30T17:29:50.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-30T17:34:24.000Z (almost 9 years ago)
- Last Synced: 2024-10-09T09:43:02.850Z (3 months ago)
- Language: Makefile
- Homepage:
- Size: 2.93 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Heroku Haskell Docker Image
This image is for use with Heroku Docker CLI.
## Usage
To build, your project must have
- A `stack.yaml`
- A cabal file
- A LICENSEThis build stops after `stack build --dependencies-only`, so your own Dockerfile
should `COPY` in the appropriate source files and `RUN` `stack install` itself.Example:
```
FROM pbrisbin/heroku-haskell-stack:1.0.2
MAINTAINER Pat BrisbinCOPY src /app/user/src
COPY app /app/user/app
RUN stack install
```Executables will be installed in `/app/user/bin`, which is added to `$PATH`, in
case you want to set one as `CMD`.To deploy, your project must have
- A `Procfile`:
```
web: ./bin/foo
```- An `app.json`:
```json
{
"name": "foo",
"description": "Doesn't matter"
}
```- A `docker-compose.yml`
```yml
web:
build: .
```Then run `heroku docker:release`