omrim12 / genie.io

Python application that includes a CNN model training process to classify food images and provide data regarding the input food image using Edamam API integration
MIT License
0 stars 0 forks source link

Fix Heroku deployment #7

Open omrim12 opened 1 year ago

omrim12 commented 1 year ago

issues:

omrim12 commented 1 year ago

build succeeded. deployment fails, logs:

2023-04-29T18:15:18.285347+00:00 heroku[web.1]: Starting process with command `/bin/bash -c export\ \$\(cat\ secrets.env\ \|\ xargs\)\ \&\&\ source\ venv/bin/activate\ \&\&\ python\ mount_food_101.py\ \&\&\ python\ genie_driver.py\ --new-genie\ --num-types\=20\ --api-mode`
2023-04-29T18:15:18.969340+00:00 app[web.1]: Error changing to app dir: /tmp/genie.io No such file or directory

Debug and resolve, might be bug it Dockerfile