Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/motiz88/flow-docker
A Dockerfile for Facebook's Flow type checker
https://github.com/motiz88/flow-docker
Last synced: about 1 month ago
JSON representation
A Dockerfile for Facebook's Flow type checker
- Host: GitHub
- URL: https://github.com/motiz88/flow-docker
- Owner: motiz88
- License: mit
- Created: 2015-05-27T09:36:14.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-20T09:19:44.000Z (over 8 years ago)
- Last Synced: 2024-04-17T04:01:24.822Z (7 months ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 13
- Watchers: 4
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flow-docker
Dockerfiles for Facebook's [Flow](http://flowtype.org) type checker.While we all wait for [official Windows binaries](https://github.com/facebook/flow/issues/6), you can run the latest Flow on Windows using this [Docker](http://docker.io) image.
## Basic usage
The image has Flow preinstalled and in the PATH, so just mount your JavaScript at `/app` on a fresh container, start a Bash session inside it, and `flow init`, `flow start`, `flow check` should etc work normally:```sh
$> docker run --rm -it -v /home/moti/projects/myapp:/app motiz88/flow bash
```If you'd rather not keep a dedicated Bash window open, it should also be possible to, say, run the container in the background and `docker exec flow` into it as needed.
## More information
This GitHub repo is built automatically as [motiz88/flow](https://registry.hub.docker.com/r/motiz88/flow) on Docker Hub. More instructions for use are available there.