Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.