将 keycloak docker 图像部署到 Heroku 时出错
Getting error while deploying keycloak docker image to Heroku
我是 Heroku 的新手。
我正在尝试将 keycloak docker 映像部署到 heroku。我在构建 keycloak docker 图像时遇到此错误。
! No default language could be detected for this app.
HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
See https://devcenter.heroku.com/articles/buildpacks
! Push failed
知道为什么会这样吗?
我需要什么构建包 select?
我的 docker 文件看起来像这样
COPY docker-entrypoint.sh /opt/jboss/tools
ENTRYPOINT [ "/opt/jboss/tools/docker-entrypoint.sh" ]
CMD ["-b", "0.0.0.0"]```
请看这个:Github keycloak-heroku.
您可以使用 deploy button from heroku 进行部署,或者您可以从最新的 keycloak 版本构建和推送您自己的映像。根据我的经验,您应该为 keycloak 11 使用至少 1 Gb ram 的测功机。
我是 Heroku 的新手。
我正在尝试将 keycloak docker 映像部署到 heroku。我在构建 keycloak docker 图像时遇到此错误。
! No default language could be detected for this app.
HINT: This occurs when Heroku cannot detect the buildpack to use for this application automatically.
See https://devcenter.heroku.com/articles/buildpacks
! Push failed
知道为什么会这样吗?
我需要什么构建包 select?
我的 docker 文件看起来像这样
COPY docker-entrypoint.sh /opt/jboss/tools
ENTRYPOINT [ "/opt/jboss/tools/docker-entrypoint.sh" ]
CMD ["-b", "0.0.0.0"]```
请看这个:Github keycloak-heroku.
您可以使用 deploy button from heroku 进行部署,或者您可以从最新的 keycloak 版本构建和推送您自己的映像。根据我的经验,您应该为 keycloak 11 使用至少 1 Gb ram 的测功机。