I have the following codebase structure
app.js
Dockerfile
bin/
cleanup
timers/
topic/
Dockerfile
convox.yml
and my convox.yml
looks like
services:
web:
build: .
port: 3000
timers:
build: ./timers/topic
scale: 0
timers:
cleanup:
command: bin/cleanup
schedule: "*/5 * * * ? *"
service: timers
I’m getting this error timer/cleanup:KWWFBULRYEN/f60b8c6efcc9 sh: 1: bin/cleanup: not found
I tried moving the bin folder into the timers folder like this
app.js
Dockerfile
timers/
topic/
Dockerfile
bin/
cleanup
convox.yml
But I’m still getting the same error. Why is bin/cleanup
not being found?