我正在關注這篇文章https://devcenter.heroku.com/articles/container-registry-and-runtime,我被卡在「heroku容器:推」。我跑「的Heroku容器:推--app媒體框」和泊塢窗圖像被正確地構建,然後開始將其推到註冊表,這就是我得到:Heroku碼頭部署
Successfully built 7926b98d51b5
The push refers to a repository [registry.heroku.com/mediabox/web]
38d48dd6de30: Preparing
969058e6ddc9: Preparing
2f454953e0e7: Preparing
f67c1ecd32a1: Preparing
44fade3982ca: Preparing
0accb1c81980: Waiting
e79bbdfaa0d3: Waiting
1be5d1797b73: Waiting
5c0a4f4b3a35: Waiting
011b303988d2: Waiting
error parsing HTTP 400 response body: unexpected end of JSON input: ""
! Error: docker push exited with 1
這是我Dockerfile:
FROM ruby:2.3.1-alpine
RUN apk --update --no-cache add build-base less libxml2-dev libxslt-dev nodejs postgresql-dev && mkdir -p /app
WORKDIR /app
COPY Gemfile Gemfile.lock ./
RUN gem install bundler
RUN bundle
COPY . ./
CMD ["script/docker-entrypoint.sh"]
我在這裏找不到解決方案。謝謝你的幫助。
你解決了嗎?我也看到相同的問題 –