]> git.openstreetmap.org Git - rails.git/blob - docker/entrypoint.sh
Add Xvfb support to the dockerfile
[rails.git] / docker / entrypoint.sh
1 #!/bin/sh
2 set -e
3
4 # Start Xvfb in the background for headless browser testing
5 export DISPLAY=:99.0
6 Xvfb $DISPLAY -screen 0 1024x768x24 &
7
8 # main command
9 exec "$@"