Great Dockerfile, and thanks for putting this together! The example works like a charm and it was easy to port to my project. But I was wondering if you could increase the timeout in wait-for.sh from 10 seconds to 60 seconds? My app container is a React application that must be bundled into a production build before getting served by my Express server (unlike in the example that uses an nginx image that serves /app/index.html), and this process can take between 20-40 seconds.
And also, the nightwatch container installs via apk nodejs-lts, but I am using some ES6 features in my tests that are not supported by Node LTS. Maybe this is not possible though as I could not find a later version of Node in the apk directory.
Great Dockerfile, and thanks for putting this together! The example works like a charm and it was easy to port to my project. But I was wondering if you could increase the timeout in
wait-for.sh
from 10 seconds to 60 seconds? Myapp
container is a React application that must be bundled into a production build before getting served by my Express server (unlike in the example that uses an nginx image that serves/app/index.html
), and this process can take between 20-40 seconds.And also, the nightwatch container installs via apk
nodejs-lts
, but I am using some ES6 features in my tests that are not supported by Node LTS. Maybe this is not possible though as I could not find a later version of Node in the apk directory.Thanks again!