File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed
Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 1- FROM node:22 -alpine AS base
1+ FROM node:24 -alpine AS base
22ENV PNPM_HOME="/pnpm"
33ENV PATH="$PNPM_HOME:$PATH"
44RUN corepack enable
Original file line number Diff line number Diff line change @@ -11,6 +11,15 @@ This package contains:
1111
1212The mock services allow lightweight and controlled testing of the interfaces between them.
1313
14+ ## Docker
15+
16+ To build and run the worker as a Docker image locally:
17+
18+ ``` bash
19+ docker build -t openfn-worker .
20+ docker run --network host -e WORKER_SECRET=$WORKER_SECRET -e WORKER_LIGHTNING_SERVICE_URL=" ws://localhost:4000/worker" openfn-worker
21+ ```
22+
1423## Getting started
1524
1625To use this server:
@@ -98,12 +107,12 @@ remaining capacity serve general work.
98107
99108### Syntax
100109
101- | Element | Meaning |
102- | ---------| ---------|
103- | ` > ` | Queue preference separator (left = highest priority) |
104- | ` * ` | Wildcard: accept runs from any queue (must be last) |
105- | ` :N ` | Number of slots for this group |
106- | ` ` (space) | Group separator |
110+ | Element | Meaning |
111+ | ----------- | ---------------------------------------------------- |
112+ | ` > ` | Queue preference separator (left = highest priority) |
113+ | ` * ` | Wildcard: accept runs from any queue (must be last) |
114+ | ` :N ` | Number of slots for this group |
115+ | ` ` (space) | Group separator |
107116
108117### Examples
109118
You can’t perform that action at this time.
0 commit comments