I'm trying to deploy a CTF challenge. so i have the following entrypoint.sh
file:
#!/bin/bash
socat -dd -T60 TCP-LISTEN:9002,reuseaddr,fork,su=game EXEC:/home/game/game.py,stderr
however when i build the docker image and run i get the following error:
/bin/sh: 0: Can't open /home/game/game.py
So my question is how to pass an argument like python2 /home/game/game.py
to EXEC
.
Thank you