You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main problem is that it doesn't work on Heroku, right? What are the error messages when you try to start the image on heroku and what are you trying to solve with the CMD change?
The build fails as the script doesn't exist at this location.
@muuki88 so i found a solution to it after many hours. After i changed my entry point tho this dockerEntrypoint := Seq("") in my build.sbt it worked out fine and i was able to start the app locally. I don't understand why docker couldn't read my default entrypoint eventho when in the CMD command i call the executable file which is the same path as the default entry point.
Expected behaviour
"
sbt docker:publishLocal
generates a dockerfile without CMD for heroku deployment."Actual behaviour
when I add
to my
build.sbt
i can add the CMD command but when i build the app and gives me an error."
sbt docker:publishLocal
fails with: Bad root server path: /opt/docker/bin/myapp"Information
I am using
sbt.version=1.0.4
I have tried everything but i still can't run the app locally. when i remove the added CMD command tho, it works locally but i cant deploy to heroku.
The text was updated successfully, but these errors were encountered: