Skip to content

Commit

Permalink
runsplash-docker.sh script which allows to run updated Splash in Dock…
Browse files Browse the repository at this point in the history
…er without a full image rebuild
  • Loading branch information
kmike committed Jun 30, 2017
1 parent 025249d commit a390fb7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/splash
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3

from splash.server import main
main()
3 changes: 3 additions & 0 deletions runsplash-docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
docker build -t splash-tests -f dockerfiles/tests/Dockerfile . && \
docker run -it -p8050:8050 --rm --entrypoint "/app/bin/splash" splash-tests "$@"
2 changes: 1 addition & 1 deletion runtests-docker.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
docker build -t splash-tests -f dockerfiles/tests/Dockerfile . && \
docker run -it splash-tests "$@"
docker run -it --rm splash-tests "$@"

0 comments on commit a390fb7

Please sign in to comment.