fellas !
I need to run a file js inside a docker container every day at midnight.
Here's my file midnight.sh
#!/bin/bash
docker exec -it hash_app bash
node midnight.js
Docker exec works fine. But the command 'node midnight.js' doesn't work.
How can I execute midnight.js inside a docker container?
via Jhon Doe
No comments:
Post a Comment