mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Rollback dockerfile (image too big) and add docker run command to docs. (#488)
This commit is contained in:
committed by
Reed Allman
parent
fde2173087
commit
6c21103057
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user