iT邦幫忙

1

Heroku用Docker架beego+react

如標題,最近參加開源活動,但專案fork下來後,一直在heroku上建不起來,推上去後有顯示build success,專案在本地運行也沒問題,但是點開了網址卻一直都是 Application error,找了很久找不出bug在哪裡,想請各位幫我跑跑看是什麼問題? 如果有建立成功,麻煩救救我,謝謝各位大神。
原本mysqll資料庫改用heroku上的免費postgres
https://github.com/lin121291/casbin-oa
以下是我建立後的log tail
https://ithelp.ithome.com.tw/upload/images/20210922/20142346bl6LCX9bhg.jpg!https://ithelp.ithome.com.tw/upload/images/20210922/20142346AHOkbc0T6L.jpg

junis iT邦新手 5 級 ‧ 2021-10-07 20:53:21 檢舉
最後放棄用docker了,另外的解決方法是把beego底下的web資料夾,用npm run build打包後,留下statiic資料夾,直接推上heroku就行了。
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友回答

立即登入回答