Export port 8008 for Docker + test_ws.sh is /bin/sh compatible
This commit is contained in:
parent
6762978ddf
commit
05c7a26e3a
@ -1 +1 @@
|
|||||||
6.2.8
|
6.2.9
|
||||||
|
@ -30,4 +30,5 @@ USER app
|
|||||||
WORKDIR /home/app
|
WORKDIR /home/app
|
||||||
|
|
||||||
ENTRYPOINT ["ws"]
|
ENTRYPOINT ["ws"]
|
||||||
|
EXPOSE 8008
|
||||||
CMD ["--help"]
|
CMD ["--help"]
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# Handle Ctrl-C by killing all sub-processing AND exiting
|
# Handle Ctrl-C by killing all sub-processing AND exiting
|
||||||
trap cleanup INT
|
trap cleanup INT
|
||||||
|
|
||||||
function cleanup {
|
cleanup() {
|
||||||
kill `cat /tmp/ws_test/pidfile.transfer`
|
kill `cat /tmp/ws_test/pidfile.transfer`
|
||||||
kill `cat /tmp/ws_test/pidfile.receive`
|
kill `cat /tmp/ws_test/pidfile.receive`
|
||||||
kill `cat /tmp/ws_test/pidfile.send`
|
kill `cat /tmp/ws_test/pidfile.send`
|
||||||
|
Loading…
Reference in New Issue
Block a user