-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathHOWTORUN
26 lines (21 loc) · 1.01 KB
/
HOWTORUN
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# HOWTORUN
#
# Build (for fish shell syntax!)
set UID (id -u)
docker build --build-arg UID=$UID -t local/pfbridge .
# Set the workflow and testing URLs of the pflink instance
# to which we are bridging
export PRODURL=http://localhost:8050/workflow/
export TESTURL=http://localhost:8050/testing/
# For daemon, or background mode:
docker run --env PRODURL=$PRODURL --env TESTURL=$TESTURL \
--name pfbridge --rm -it -d \
-p 33333:33333 \
local/pfbridge /start-reload.sh
# Run with support for source debugging
docker run --env PRODURL=$PRODURL --env TESTURL=$TESTURL \
--name pfbridge --rm -it \
-p 33333:33333 \
-v $PWD/pfbridge:/app:ro \
local/pfbridge /start-reload.sh