Deploying Yesod to Heroku, can't build statically

后端 未结 3 1518
旧巷少年郎
旧巷少年郎 2020-11-22 15:51

I\'m very new to Yesod and I\'m having trouble building Yesod statically so I can deploy to Heroku.

I have changed the default .cabal file to reflect static compilat

3条回答
  •  甜味超标
    2020-11-22 16:08

    I had similar problems launching to Heroku (which uses glibc-2.11) where I had an application that required glibc-2.14, but I did not have access to the source and could not re-build it. I tried many things and nothing worked.

    My workaround was to launch the service on Amazon Elastic Beanstalk and just provide an API interface.

提交回复
热议问题