Export port 8008 for Docker + test_ws.sh is /bin/sh compatible

This commit is contained in:
Benjamin Sergeant 2019-09-26 14:36:14 -07:00
parent 6762978ddf
commit 05c7a26e3a
3 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
6.2.8
6.2.9

View File

@ -30,4 +30,5 @@ USER app
WORKDIR /home/app
ENTRYPOINT ["ws"]
EXPOSE 8008
CMD ["--help"]

View File

@ -3,7 +3,7 @@
# Handle Ctrl-C by killing all sub-processing AND exiting
trap cleanup INT
function cleanup {
cleanup() {
kill `cat /tmp/ws_test/pidfile.transfer`
kill `cat /tmp/ws_test/pidfile.receive`
kill `cat /tmp/ws_test/pidfile.send`