3 comments

[ 3.7 ms ] story [ 14.3 ms ] thread
tldr: mounted a volume instead of copying the application's files into the container...
From my understanding “Show HN” is meant for projects you’ve put time and effort into and want feedback or to share it with the community.

I don’t mean to be negative, but as far as I can tell, this is a Dockerfile that installs and runs playwright, while mounting the source directory. This is a relatively simple use-case for Docker and doesn’t feel quite appropriate for Show HN.

That was the simple part, making Playwright work in Docker for test automation of several scripts and not isolated “one of” tests was a bit harder.

Not a lot of code, but could not find any solution for this already.