mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
330 B
330 B
This is a worker that just echoes the "input" param in the payload.
eg:
This input:
{
"sleep": 5
}
Will make this container sleep for 5 seconds.
Building Image
Install dj, then run:
docker build -t iron/sleeper .
docker run -e 'PAYLOAD={"sleep": 5}' iron/sleeper