webgalen/bin/run
2018-09-21 01:25:39 +02:00

20 lines
374 B
Bash
Executable file

#!/bin/sh
# --restart always \
# docker run -d \
# --rm \
# --name casperjs-daemon \
# -v $(pwd):/home/casperjs-tests \
# vitr/casperjs
#--engine=slimerjs \
export PATH="$(npm bin):$PATH"
$(npm bin)/casperjs \
--log-level=debug \
--engine=slimerjs \
./download.js \
"URL"
# docker exec casperjs-daemon phantomjs download.js "URL"
# docker stop casperjs-daemon