Rollback dockerfile (image too big) and add docker run command to docs. (#488)

This commit is contained in:
Travis Reeder
2017-11-09 16:12:45 +01:00
committed by Reed Allman
parent fde2173087
commit 6c21103057
2 changed files with 17 additions and 19 deletions

View File

@@ -1,5 +1,15 @@
# Fn Runtime Options
## Default run command for production
This will run with docker in docker.
```sh
docker run --privileged --rm --name fns -it -v $PWD/data:/app/data -p 80:8080 fnproject/functions
```
See below for starting without docker in docker.
## Configuration
When starting Fn, you can pass in the following configuration variables as environment variables. Use `-e VAR_NAME=VALUE` in